[hackers] [ubase] Use EXIT_FAILURE || sin

From: <git_AT_suckless.org>
Date: Mon, 30 Jun 2014 20:16:20 +0200

commit d04d030367b9e31da507b87b815d531436640187
Author: sin <sin_AT_2f30.org>
Date: Mon Jun 30 19:15:45 2014 +0100

    Use EXIT_FAILURE

diff --git a/pidof.c b/pidof.c
index 46ed961..4ed19c7 100644
--- a/pidof.c
+++ b/pidof.c
_AT_@ -51,7 +51,7 @@ main(int argc, char *argv[])
         } ARGEND;
 
         if (!argc)
- return 1;
+ return EXIT_FAILURE;
 
         TAILQ_INIT(&omitpid_head);
 
Received on Mon Jun 30 2014 - 20:16:20 CEST

This archive was generated by hypermail 2.3.0 : Mon Jun 30 2014 - 20:24:07 CEST