From: Thomas Berezansky Date: Wed, 5 Oct 2011 14:35:00 +0000 (-0400) Subject: Exit after osrf_ctl.sh usage statement X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3c41149de1a59c9bc7a6abaf838709f167efb278;p=working%2FOpenSRF.git Exit after osrf_ctl.sh usage statement Otherwise we may get it upwards of three times: Once for specifying -h Once for having an empty action Once for having an invalid (no) action at the end of the script. Signed-off-by: Thomas Berezansky --- diff --git a/bin/osrf_ctl.sh.in b/bin/osrf_ctl.sh.in index 20c549b..c3415a2 100755 --- a/bin/osrf_ctl.sh.in +++ b/bin/osrf_ctl.sh.in @@ -70,6 +70,7 @@ Examples: $0 -l -c opensrf_core.xml -a restart_all EOF +exit; } # ---------------------------------------------------------------------------