crontab -l should be allowed to fail with "no crontab" without stopping exec

This commit is contained in:
Arkaitz Jimenez 2013-03-30 22:15:39 +01:00
parent 459ea4cfd9
commit d59953642e

View file

@ -38,7 +38,7 @@ if [ "$state_is" != "$state_should" ]; then
present)
cat << DONE
tmp=\$($mktemp)
crontab -u $user -l > \$tmp
crontab -u $user -l > \$tmp || true
cat >> \$tmp << EOC
$(cat "$__object/parameter/entry")
EOC