소스 검색

Update monitor-all.sh

tteckster 2 년 전
부모
커밋
72f3648730
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      misc/monitor-all.sh

+ 1 - 1
misc/monitor-all.sh

@@ -46,7 +46,7 @@ while true; do
     else
       # It is a virtual machine
       config_cmd="qm config"
-      IP=$(qm guest cmd $instance network-get-interfaces | egrep -o "([0-9]{1,3}\.){3}[0-9]{1,3}" | grep -E "192\.|10\." | head -n 1))
+      IP=$(qm guest cmd $instance network-get-interfaces | egrep -o "([0-9]{1,3}\.){3}[0-9]{1,3}" | grep -E "192\.|10\." | head -n 1)
     fi
 
     # Skip instances based on templates