瀏覽代碼

BugFix - check_reversetunnel

master
Dirk Alders 5 月之前
父節點
當前提交
230dd25be6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      check_reversetunnel

+ 1
- 1
check_reversetunnel 查看文件

@@ -12,7 +12,7 @@ if [ -z $AUTOSSH_PIDs ]; then
12 12
     exit $NAGIOS_ERROR
13 13
 else
14 14
     # there is an autossh process
15
-    ps x -q $AUTOSSH_PIDs | grep $MULTIMEDIA_TUNNEL_REGEX 2>&1 > /dev/null
15
+    ps x -q $AUTOSSH_PIDs | grep "$MULTIMEDIA_TUNNEL_REGEX" 2>&1 > /dev/null
16 16
     if [ $? -eq 0 ]; then
17 17
         echo "OK - The required autossh process is running"
18 18
         exit $NAGIOS_OK

Loading…
取消
儲存