sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit d30ac8d64b2e9d76b22b88647688b08491e9b0af
parent 669f4b45cd39b21112fd3e87aec5bbe3013d72b6
Author: sin <sin@2f30.org>
Date:   Tue Dec  9 16:32:40 +0000

Use eprintf() in usage()

Diffstat:
crond.c | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/crond.c b/crond.c @@ -408,10 +408,7 @@ sighandler(int sig) static void usage(void) { - fprintf(stderr, "usage: %s [-f file] [-n]\n", argv0); - fprintf(stderr, " -f config file\n"); - fprintf(stderr, " -n do not daemonize\n"); - exit(1); + eprintf("usage: %s [-f file] [-n]\n", argv0); } int