aboutsummaryrefslogtreecommitdiff
path: root/procps/kill.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-01 02:55:13 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-01 02:55:13 +0000
commit8cb2f75a75eb9694f36312ab4856d335ab2bac19 (patch)
tree013a1e7752113314831ad7d51854ce8dc9e0918b /procps/kill.c
parent8bfd1e939579e988ad4d2c0cc1425448f1fd7236 (diff)
downloadbusybox-w32-8cb2f75a75eb9694f36312ab4856d335ab2bac19.tar.gz
busybox-w32-8cb2f75a75eb9694f36312ab4856d335ab2bac19.tar.bz2
busybox-w32-8cb2f75a75eb9694f36312ab4856d335ab2bac19.zip
Stop using TRUE and FALSE for exit status.
git-svn-id: svn://busybox.net/trunk/busybox@1360 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'procps/kill.c')
-rw-r--r--procps/kill.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/procps/kill.c b/procps/kill.c
index 7ade8228c..dd5ca49fa 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -158,7 +158,7 @@ extern int kill_main(int argc, char **argv)
158 } 158 }
159 } 159 }
160 fprintf(stderr, "\n\n"); 160 fprintf(stderr, "\n\n");
161 exit(TRUE); 161 return EXIT_SUCCESS;
162 } 162 }
163 break; 163 break;
164 case '-': 164 case '-':
@@ -236,11 +236,12 @@ extern int kill_main(int argc, char **argv)
236 * upon exit, so we can save a byte or two */ 236 * upon exit, so we can save a byte or two */
237 argv++; 237 argv++;
238 } 238 }
239 exit (all_found); 239 if (all_found == FALSE)
240 return EXIT_FAILURE;
240 } 241 }
241#endif 242#endif
242 243
243 exit(TRUE); 244 return EXIT_SUCCESS;
244 245
245 246
246 end: 247 end: