From 5c170940c89065df4c7bbc6561cbdfd297363aad Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Mon, 29 Oct 2007 18:41:15 -0700 Subject: general cleanup of CLI output --- src/cli_new.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cli_new.c') diff --git a/src/cli_new.c b/src/cli_new.c index 8037909..8abdbff 100644 --- a/src/cli_new.c +++ b/src/cli_new.c @@ -105,7 +105,7 @@ void bye(char *msg, ...) va_list ap; if (is_silent_msg()) - exit(0); + exit(-1); va_start(ap, msg); if (is_echo()) printf("echo \""); @@ -113,7 +113,7 @@ void bye(char *msg, ...) printf(is_echo()? "\";":"\n"); va_end(ap); - exit(0); + exit(-1); } /* msg: -- cgit v1.2.3