crontab -l should be allowed to fail with "no crontab" without stopping exec
This commit is contained in:
parent
459ea4cfd9
commit
d59953642e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue