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 /coreutils/touch.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 'coreutils/touch.c')
-rw-r--r-- | coreutils/touch.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/coreutils/touch.c b/coreutils/touch.c index 7db6c6e33..5537fb63b 100644 --- a/coreutils/touch.c +++ b/coreutils/touch.c | |||
@@ -43,7 +43,6 @@ extern int touch_main(int argc, char **argv) | |||
43 | break; | 43 | break; |
44 | default: | 44 | default: |
45 | usage(touch_usage); | 45 | usage(touch_usage); |
46 | exit(FALSE); | ||
47 | } | 46 | } |
48 | } | 47 | } |
49 | } | 48 | } |
@@ -57,7 +56,7 @@ extern int touch_main(int argc, char **argv) | |||
57 | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); | 56 | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); |
58 | if (fd < 0) { | 57 | if (fd < 0) { |
59 | if (create == FALSE && errno == ENOENT) | 58 | if (create == FALSE && errno == ENOENT) |
60 | exit(TRUE); | 59 | return EXIT_SUCCESS; |
61 | else { | 60 | else { |
62 | fatalError("%s", strerror(errno)); | 61 | fatalError("%s", strerror(errno)); |
63 | } | 62 | } |
@@ -70,5 +69,5 @@ extern int touch_main(int argc, char **argv) | |||
70 | argv++; | 69 | argv++; |
71 | } | 70 | } |
72 | 71 | ||
73 | return(TRUE); | 72 | return EXIT_SUCCESS; |
74 | } | 73 | } |