minor fix
This commit is contained in:
parent
13aafe98cd
commit
f1d313dfd6
|
@ -1,11 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
ISTOMCATRUNNING=="$(ps -fu gcube | grep -v grep | grep -c java)"
|
||||
ISTOMCATRUNNING="$(ps -fu gcube | grep -v grep | grep -c java)"
|
||||
|
||||
if (( $ISTOMCATRUNNING == 0 ))
|
||||
then
|
||||
sleep 60
|
||||
ISTOMCATRUNNING=="$(ps -fu gcube | grep -v grep | grep -c java)"
|
||||
ISTOMCATRUNNING="$(ps -fu gcube | grep -v grep | grep -c java)"
|
||||
fi
|
||||
|
||||
if (( $ISTOMCATRUNNING == 0 ))
|
||||
|
|
Loading…
Reference in New Issue