Showing 1 changed files with 1 additions and 1 deletions
+1 -1
monitoring.d/raspberrypi
... ...
@@ -95,7 +95,7 @@ function clean_swap () {
95 95
             used = $3
96 96
         }
97 97
         END {
98
-            exit !(used > 31 && free - used > 0)
98
+            exit (used > 31 && free - used > 0)
99 99
         }
100 100
     '; then
101 101
         systemctl stop dphys-swapfile \