projects
/
working
/
OpenSRF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4a58c1
)
Exit after osrf_ctl.sh usage statement
user/tsbere/auto_ctl
author
Thomas Berezansky
<tsbere@mvlc.org>
Wed, 5 Oct 2011 14:35:00 +0000
(10:35 -0400)
committer
Thomas Berezansky
<tsbere@mvlc.org>
Wed, 5 Oct 2011 14:35:00 +0000
(10:35 -0400)
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 <tsbere@mvlc.org>
bin/osrf_ctl.sh.in
patch
|
blob
|
history
diff --git
a/bin/osrf_ctl.sh.in
b/bin/osrf_ctl.sh.in
index
20c549b
..
c3415a2
100755
(executable)
--- 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;
}
# ---------------------------------------------------------------------------