Stop using TRUE and FALSE for exit status.
This commit is contained in:
@ -67,7 +67,7 @@ extern int update_main(int argc, char **argv)
|
||||
|
||||
pid = fork();
|
||||
if (pid < 0)
|
||||
exit(FALSE);
|
||||
return EXIT_FAILURE;
|
||||
else if (pid == 0) {
|
||||
/* Become a proper daemon */
|
||||
setsid();
|
||||
@ -99,12 +99,12 @@ extern int update_main(int argc, char **argv)
|
||||
syslog(LOG_INFO,
|
||||
"This kernel does not need update(8). Exiting.");
|
||||
closelog();
|
||||
exit(TRUE);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return( TRUE);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user