projects
/
monit-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7398367
)
r20: - fixups
author
Dinko Korunic
<Dinko.Korunic@CARNet.hr>
Tue, 19 Feb 2008 18:17:46 +0000
(18:17 +0000)
committer
Dinko Korunic
<Dinko.Korunic@CARNet.hr>
Tue, 19 Feb 2008 18:17:46 +0000
(18:17 +0000)
update-monit.d
patch
|
blob
|
history
diff --git
a/update-monit.d
b/update-monit.d
index
dee92dc
..
8505053
100755
(executable)
--- 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