dever 5 年之前
父节点
当前提交
8bb51810a0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/shell/ngrok/daemon

+ 1 - 1
src/shell/ngrok/daemon

@@ -6,7 +6,7 @@ port=$2
 path=$3
 while true
 do
-    pids=`ps aux|grep "ngrok -subdomain=$1 -config=${$path}ngrok.cfg $port"|grep -v entrypoint|grep -v grep|grep -v process|awk '{print $1}'`
+    pids=`ps aux|grep "ngrok -subdomain=$1 -config=${path}ngrok.cfg $port"|grep -v entrypoint|grep -v grep|grep -v process|awk '{print $1}'`
     if [ "$pids" ]; then
         sleep 60
     else