Commit e5d86ffc authored by matze's avatar matze

Fix to remove cronjobs when the cronjob expression did not match.

parent 87f30b60
...@@ -42,8 +42,12 @@ fi ...@@ -42,8 +42,12 @@ fi
mkdir "$__object/files" mkdir "$__object/files"
echo "$entry" > "$__object/files/entry" echo "$entry" > "$__object/files/entry"
if diff -q "$__object/files/entry" "$__object/explorer/entry" >/dev/null; then if [ -s "$__object/explorer/entry" ]; then
if diff -q "$__object/files/entry" "$__object/explorer/entry" >/dev/null; then
state_is=present state_is=present
else else
state_is=absent state_is=absent
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment