MVPilgrim commited on
Commit
510c993
·
1 Parent(s): 802ca26
Files changed (1) hide show
  1. startup.sh +1 -1
startup.sh CHANGED
@@ -9,7 +9,7 @@ exec &> /app/startup.log
9
 
10
  echo "#### startup.sh entered."
11
  # Is startup.sh already running?
12
- cnt=$(ps -ef | grep -i startup.sh | grep -v grep | wc -l)
13
  if [ $cnt -gt 1 ];then
14
  echo "#### startup.sh already running. Exiting."
15
  exit 0
 
9
 
10
  echo "#### startup.sh entered."
11
  # Is startup.sh already running?
12
+ cnt=$(ps -ef | grep -i startup.sh | wc -l)
13
  if [ $cnt -gt 1 ];then
14
  echo "#### startup.sh already running. Exiting."
15
  exit 0