r21: - fixups
authorDinko Korunic <Dinko.Korunic@CARNet.hr>
Tue, 19 Feb 2008 18:18:40 +0000 (18:18 +0000)
committerDinko Korunic <Dinko.Korunic@CARNet.hr>
Tue, 19 Feb 2008 18:18:40 +0000 (18:18 +0000)
update-monit.d

index 8505053..20508c7 100755 (executable)
@@ -110,7 +110,7 @@ check_template() {
         return 0
     fi
 
-    if cmp -s "$filename" "${TEMPLATES_DIR}/${serviceconf}"; then
+    if ! cmp -s "$filename" "${TEMPLATES_DIR}/${serviceconf}"; then
         RET=1
         return 1
     fi