diff options
author | Matt Kraai <kraai@debian.org> | 2000-12-01 02:55:13 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-12-01 02:55:13 +0000 |
commit | 3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (patch) | |
tree | 013a1e7752113314831ad7d51854ce8dc9e0918b /miscutils/update.c | |
parent | b558e76eb1ba173ce3501c3e13fb80f426a7faac (diff) | |
download | busybox-w32-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.gz busybox-w32-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.bz2 busybox-w32-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.zip |
Stop using TRUE and FALSE for exit status.
Diffstat (limited to 'miscutils/update.c')
-rw-r--r-- | miscutils/update.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/update.c b/miscutils/update.c index 7279d83a8..080cb99c3 100644 --- a/miscutils/update.c +++ b/miscutils/update.c | |||
@@ -67,7 +67,7 @@ extern int update_main(int argc, char **argv) | |||
67 | 67 | ||
68 | pid = fork(); | 68 | pid = fork(); |
69 | if (pid < 0) | 69 | if (pid < 0) |
70 | exit(FALSE); | 70 | return EXIT_FAILURE; |
71 | else if (pid == 0) { | 71 | else if (pid == 0) { |
72 | /* Become a proper daemon */ | 72 | /* Become a proper daemon */ |
73 | setsid(); | 73 | setsid(); |
@@ -99,12 +99,12 @@ extern int update_main(int argc, char **argv) | |||
99 | syslog(LOG_INFO, | 99 | syslog(LOG_INFO, |
100 | "This kernel does not need update(8). Exiting."); | 100 | "This kernel does not need update(8). Exiting."); |
101 | closelog(); | 101 | closelog(); |
102 | exit(TRUE); | 102 | return EXIT_SUCCESS; |
103 | } | 103 | } |
104 | } | 104 | } |
105 | } | 105 | } |
106 | } | 106 | } |
107 | return( TRUE); | 107 | return EXIT_SUCCESS; |
108 | } | 108 | } |
109 | 109 | ||
110 | /* | 110 | /* |