X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=monit-cn.git;a=blobdiff_plain;f=update-monit.d;h=20508c717bcb4e53df05a0eda09adcadd0408d10;hp=8505053cf6f1b1405aeb7e7bbca057c6b3dfafc4;hb=d3a332ee6501e679c97c2a735befeff18b1e2d95;hpb=7cf3a622e9dcd1534451d14289b9c819ea744aa5 diff --git a/update-monit.d b/update-monit.d index 8505053..20508c7 100755 --- a/update-monit.d +++ b/update-monit.d @@ -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