Merge "gerrit.sh: actually verify running processes"
This commit is contained in:
@@ -522,8 +522,10 @@ case "$ACTION" in
|
||||
echo
|
||||
|
||||
if test -f "$GERRIT_PID" ; then
|
||||
echo "Gerrit running pid="`cat "$GERRIT_PID"`
|
||||
exit 0
|
||||
if running "$GERRIT_PID" ; then
|
||||
echo "Gerrit running pid="`cat "$GERRIT_PID"`
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
exit 1
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user