dnsresolve.c
changeset 48 b94d657a9acb
parent 27 81a574d60c15
child 61 4b4c97f179da
--- a/dnsresolve.c
+++ b/dnsresolve.c
@@ -19,7 +19,7 @@
 
     if (argc != 2) {
         fprintf (stderr, "Usage: %s hostname\n", argv[0]);
-        exit (0);
+        return EXIT_FAILURE;
     }
 
     he = gethostbyname (argv[1]);