aboutsummaryrefslogtreecommitdiff
path: root/ping.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-12-01 02:55:13 +0000
committerMatt Kraai <kraai@debian.org>2000-12-01 02:55:13 +0000
commit3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (patch)
tree013a1e7752113314831ad7d51854ce8dc9e0918b /ping.c
parentb558e76eb1ba173ce3501c3e13fb80f426a7faac (diff)
downloadbusybox-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.gz
Stop using TRUE and FALSE for exit status.
Diffstat (limited to 'ping.c')
-rw-r--r--ping.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ping.c b/ping.c
index a4363098e..af109cf0a 100644
--- a/ping.c
+++ b/ping.c
@@ -1,6 +1,6 @@
/* vi: set sw=4 ts=4: */
/*
- * $Id: ping.c,v 1.26 2000/11/14 23:29:24 andersen Exp $
+ * $Id: ping.c,v 1.27 2000/12/01 02:55:13 kraai Exp $
* Mini ping implementation for busybox
*
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -256,7 +256,7 @@ extern int ping_main(int argc, char **argv)
if (argc < 1)
usage(ping_usage);
ping(*argv);
- exit(TRUE);
+ return EXIT_SUCCESS;
}
#else /* ! BB_FEATURE_SIMPLE_PING */
@@ -546,7 +546,7 @@ extern int ping_main(int argc, char **argv)
myid = getpid() & 0xFFFF;
ping(*argv);
- return(TRUE);
+ return EXIT_SUCCESS;
}
#endif /* ! BB_FEATURE_SIMPLE_PING */