From 3c41149de1a59c9bc7a6abaf838709f167efb278 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Wed, 5 Oct 2011 10:35:00 -0400 Subject: [PATCH] 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 --- bin/osrf_ctl.sh.in | 1 + 1 file changed, 1 insertion(+) 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; } # --------------------------------------------------------------------------- -- 2.11.0