1
0
Преглед на файлове

更新 'update.sh'

修复判断
linj преди 5 години
родител
ревизия
07a547c720
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -17,7 +17,7 @@ cd chain33
 sleep 15
 set -x
 started=`ps aux | grep bityuan -w | grep -v grep  | wc -l`
-[ $started != 1 ]  || supervisorctl restart chain33
+[ $started == 1 ]  || supervisorctl restart chain33
 
 sleep 15
 started=`ps aux | grep bityuan -w | grep -v grep  | wc -l`