Showing 1 changed files with 1 additions and 1 deletions
+1 -1
monitoring
... ...
@@ -72,7 +72,7 @@ function _do_tests () {
72 72
                 err[${#err[@]}]=$t
73 73
                 err[${#err[@]}]="${msg}"
74 74
             else
75
-                if test -n "${!t}"; then
75
+                if ! grep --quiet --word-regexp $t $monitoring_turns; then
76 76
                     sed -ri "/^$t=.+$/d" $monitoring_status
77 77
                 fi
78 78
             fi