From: Dinko Korunic Date: Tue, 19 Feb 2008 18:17:46 +0000 (+0000) Subject: r20: - fixups X-Git-Tag: v4.10.1-3~17 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=a692bb5f579998ecb28bbb8713fe6bc28d50aa10;p=monit-cn.git r20: - fixups --- 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