ubase

suckless linux base utils
git clone git://git.2f30.org/ubase.git
Log | Files | Refs | README | LICENSE

commit 1b31acce4809d7848e0a2cdd87cab627543bf006
parent d017808c807676daca991e95f900e3e440ab9f97
Author: s-p-k <mr.dwts@gmail.com>
Date:   Mon Oct  7 22:03:06 +0300

Exit with EXIT_SUCCESS in dmesg.c cases

Diffstat:
dmesg.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dmesg.c b/dmesg.c @@ -35,7 +35,7 @@ main(int argc, char *argv[]) case 'C': if (klogctl(SYSLOG_ACTION_CLEAR, NULL, 0) < 0) eprintf("klogctl:"); - return 0; + return EXIT_SUCCESS; case 'c': cflag = 1; break; @@ -46,7 +46,7 @@ main(int argc, char *argv[]) level = estrtol(EARGF(usage()), 10); if (klogctl(SYSLOG_ACTION_CONSOLE_LEVEL, NULL, level) < 0) eprintf("klogctl:"); - return 0; + return EXIT_SUCCESS; default: usage(); } ARGEND;