summaryrefslogtreecommitdiff
path: root/src/cli_new.c
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-10-29 18:41:15 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-10-29 18:41:15 -0700
commit5c170940c89065df4c7bbc6561cbdfd297363aad (patch)
tree664acff0745412bd0dcebb32d630ccb2357d33f0 /src/cli_new.c
parent57f92ab532610ef1f95ef3fa4761c424d5541d80 (diff)
downloadvyatta-cfg-5c170940c89065df4c7bbc6561cbdfd297363aad.tar.gz
vyatta-cfg-5c170940c89065df4c7bbc6561cbdfd297363aad.zip
general cleanup of CLI output
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: