From a692bb5f579998ecb28bbb8713fe6bc28d50aa10 Mon Sep 17 00:00:00 2001 From: Dinko Korunic Date: Tue, 19 Feb 2008 18:17:46 +0000 Subject: [PATCH] r20: - fixups --- update-monit.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update-monit.d b/update-monit.d index dee92dc..8505053 100755 --- a/update-monit.d +++ b/update-monit.d @@ -105,12 +105,12 @@ check_template() { return 0 fi - if ! grep -q "^#.*monit-cn template file" "$filename"; then + if ! grep -q "^#.*monit-cn template" "$filename"; then RET=0 return 0 fi - if ! cmp -s "$filename" "${TEMPLATES_DIR}/${serviceconf}"; then + if cmp -s "$filename" "${TEMPLATES_DIR}/${serviceconf}"; then RET=1 return 1 fi -- 1.7.10.4