summaryrefslogtreecommitdiff
path: root/src/cli_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli_new.c')
-rw-r--r--src/cli_new.c4
1 files changed, 2 insertions, 2 deletions
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: