Port fix for bz1729499 from RHEL 8
Modify the cron command to avoid an e-mail with error message after RaR is installed but not properly configured when the cron command is triggered for the first time Related: rhbz1973448
This commit is contained in:
parent
7a37e9fcf4
commit
036a47da3d
@ -1,4 +1,4 @@
|
|||||||
# cronjob for ReaR
|
# cronjob for ReaR
|
||||||
# periodically check if disk layout has changed and update
|
# periodically check if disk layout has changed and update
|
||||||
# the rescue image
|
# the rescue image
|
||||||
30 1 * * * root /usr/sbin/rear checklayout || /usr/sbin/rear mkrescue
|
30 1 * * * root test -f /var/lib/rear/layout/disklayout.conf && /usr/sbin/rear checklayout || /usr/sbin/rear mkrescue
|
||||||
|
Loading…
Reference in New Issue
Block a user