Skip to content
Snippets Groups Projects
Commit ecc3c4e9 authored by brinn's avatar brinn
Browse files

Fix typo when detecting whether there is a PID file.

SVN: 26502
parent 57fe9caa
No related branches found
No related tags found
No related merge requests found
......@@ -7,9 +7,9 @@ source `dirname "$0"`/setup-env
checkNotRoot
source `dirname "$0"`/status.sh > /dev/null
`dirname "$0"`/status.sh -q
if [ $? -eq 0 ]; then
echo openBIS AS already running, shut it down before start a new one.
echo openBIS AS already running, shut it down before starting a new one.
exit 1
fi
......
......@@ -10,7 +10,7 @@ printStatus()
if [ "$1" == "-q" ]; then
QUIET=1
fi
if [ -f $PIDFILE ]; then
if [ -f $JETTY_PID_FILE ]; then
PID=`cat $JETTY_PID_FILE`
isPIDRunning $PID
if [ $? -eq 0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment