diff options
author | Manoj Srivastava <srivasta@golden-gryphon.com> | 2013-04-24 02:43:27 -0700 |
---|---|---|
committer | Manoj Srivastava <srivasta@golden-gryphon.com> | 2013-04-24 02:43:27 -0700 |
commit | 73fb2c7fe48cec8f7f2a6b10ec5db7e0276e2727 (patch) | |
tree | fd94b2c2560b87f29e2ac9b2c43b34f05da56446 /ucf | |
parent | 335b441bd92114a3fc0465fcf7bb7f13c6262ce9 (diff) |
[upstream]: Do not exit normally after errors.
Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
Diffstat (limited to 'ucf')
-rwxr-xr-x | ucf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -350,7 +350,7 @@ if [ "X$PURGE" = "XYES" ]; then echo >&2 "*** ERROR: Need exactly one argument when purging, got $#"; echo >&2 "" usageversion; - exit 0 ; + exit 2 ; fi temp_dest_file=$1; setq dest_file "$(readlink -q -m $temp_dest_file)" "The Destination file"; @@ -359,7 +359,7 @@ else echo >&2 "*** ERROR: Need exactly two arguments, got $#"; echo >&2 "" usageversion; - exit 0 ; + exit 2 ; fi temp_new_file=$1; temp_dest_file=$2; |