summaryrefslogtreecommitdiff
path: root/miscutils/update.c
diff options
context:
space:
mode:
authorMatt Kraai2000-12-01 02:55:13 +0000
committerMatt Kraai2000-12-01 02:55:13 +0000
commit3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (patch)
tree013a1e7752113314831ad7d51854ce8dc9e0918b /miscutils/update.c
parentb558e76eb1ba173ce3501c3e13fb80f426a7faac (diff)
downloadbusybox-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.zip
busybox-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.gz
Stop using TRUE and FALSE for exit status.
Diffstat (limited to 'miscutils/update.c')
-rw-r--r--miscutils/update.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/update.c b/miscutils/update.c
index 7279d83..080cb99 100644
--- a/miscutils/update.c
+++ b/miscutils/update.c
@@ -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;
}
/*