瀏覽代碼

更新 '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`