Explorar o código

更新 'update.sh'

修复判断
linj %!s(int64=5) %!d(string=hai) anos
pai
achega
07a547c720
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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`