A patch from John F. Kelly to add in a utility for configuring
[oweals/busybox.git] / networking / ping.c
index e3ba2ed27f5374fd11ba21f1dcf7a0dd05172ed8..044b547ac601af85555daeea3a85b10d65002f91 100644 (file)
@@ -1,6 +1,6 @@
 /* vi: set sw=4 ts=4: */
 /*
- * $Id: ping.c,v 1.50 2002/03/21 14:04:43 andersen Exp $
+ * $Id: ping.c,v 1.53 2003/01/12 06:08:33 andersen Exp $
  * Mini ping implementation for busybox
  *
  * Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -179,7 +179,7 @@ static char *hostname = NULL;
 static void noresp(int ign)
 {
        printf("No response from %s\n", hostname);
-       exit(0);
+       exit(EXIT_FAILURE);
 }
 
 static void ping(const char *host)