diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-11-24 12:00:55 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-11-24 12:00:55 -0800 |
commit | 60192694d82b0f6b34d3a8be846e0f81893e8a9b (patch) | |
tree | 96fe55b42a79e0506c159e309d16fd6318d915cc /src/cli_new.c | |
parent | 6c744b0ba23a616f00d63e12daf10a4fcd187cfa (diff) | |
download | vyatta-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.c | 2 |
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: |