From 60192694d82b0f6b34d3a8be846e0f81893e8a9b Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Wed, 24 Nov 2010 12:00:55 -0800 Subject: use exit code 1 to ease init script usage --- src/cli_new.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cli_new.c') diff --git a/src/cli_new.c b/src/cli_new.c index 41afb5f..1ac99a1 100644 --- a/src/cli_new.c +++ b/src/cli_new.c @@ -129,7 +129,7 @@ void bye(const char *msg, ...) printf(is_echo()? "\";":"\n"); va_end(ap); - exit(-1); + exit(1); } /* msg: -- cgit v1.2.3