Permalink
Browse files

Added exit code 3 when Jackrabbit is not running

  • Loading branch information...
1 parent 7bd90e8 commit 977449b5f94bd1a6386b7f3c9c0c3f9eae6f9dc7 Daniel Barsotti committed Nov 21, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 jackrabbit.sh
View
@@ -77,13 +77,15 @@ do_stop() {
else
echo "Jackrabbit is not running"
fi
+ exit 3
}
do_status() {
if [ -f $PIDFILE ]; then
echo "Jackrabbit is running [ pid = " $(cat $PIDFILE) "]"
else
echo "Jackrabbit is not running"
+ exit 3
fi
}

0 comments on commit 977449b

Please sign in to comment.