Comment 22 for bug 120085

Revision history for this message
Martin Pitt (pitti) wrote :

In your cron.{daily,weekly} modifications:

+[ -z "${USER}" ] && USER="root"

you should append || true, so that the script does not bail out if $USER is not zero. That's only an issue if the script is under set -e, but it's generally more robust.