Prechádzať zdrojové kódy

Update monitor-all.sh

tweak
tteckster 1 rok pred
rodič
commit
b0a7fc06eb
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      misc/monitor-all.sh

+ 1 - 0
misc/monitor-all.sh

@@ -35,6 +35,7 @@ while true; do
   for instance in $(pct list | awk '\''{if(NR>1) print $1}'\''; qm list | awk '\''{if(NR>1) print $1}'\''); do
   for instance in $(pct list | awk '\''{if(NR>1) print $1}'\''; qm list | awk '\''{if(NR>1) print $1}'\''); do
     # Skip excluded instances
     # Skip excluded instances
     if [[ " ${excluded_instances[@]} " =~ " ${instance} " ]]; then
     if [[ " ${excluded_instances[@]} " =~ " ${instance} " ]]; then
+      echo "Skipping $instance because it is excluded"
       continue
       continue
     fi
     fi