1 diff -ruN kudzu-0.99.50.old/updfstab.c kudzu-0.99.50/updfstab.c
2 --- kudzu-0.99.50.old/updfstab.c Mon Apr 8 05:37:01 2002
3 +++ kudzu-0.99.50/updfstab.c Tue Dec 16 15:22:26 2003
8 - /* do this before moving onto /etc/fstab; this keeps magicdev
9 - from noticing the change before the permissions are correct */
13 - execl("/sbin/pam_console_apply", "/sbin/pam_console_apply",
14 - "-f", revokeFileName, "-r", NULL);
18 - waitpid(pid, &status, 0);
20 - if (!WIFEXITED(status) || WEXITSTATUS(status))
21 - fprintf(stderr, _("/sbin/pam_console_apply -r failed\n"));
25 - execl("/sbin/pam_console_apply", "/sbin/pam_console_apply",
26 - "-f", outputFileName, NULL);
31 - waitpid(pid, &status, 0);
32 - if (!WIFEXITED(status) || WEXITSTATUS(status))
33 - fprintf(stderr, _("/sbin/pam_console_apply failed\n"));
35 if (rename(outputFileName, fileName)) {
36 fprintf(stderr, _("failed to rename %s to %s: %s\n"),
37 outputFileName, fileName, strerror(errno));