summaryrefslogtreecommitdiff
path: root/src/cli_new.c
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-11-24 12:00:55 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2010-11-24 12:00:55 -0800
commit60192694d82b0f6b34d3a8be846e0f81893e8a9b (patch)
tree96fe55b42a79e0506c159e309d16fd6318d915cc /src/cli_new.c
parent6c744b0ba23a616f00d63e12daf10a4fcd187cfa (diff)
downloadvyatta-cfg-60192694d82b0f6b34d3a8be846e0f81893e8a9b.tar.gz
vyatta-cfg-60192694d82b0f6b34d3a8be846e0f81893e8a9b.zip
use exit code 1 to ease init script usage
Diffstat (limited to 'src/cli_new.c')
-rw-r--r--src/cli_new.c2
1 files changed, 1 insertions, 1 deletions
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: