X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.reboot;h=865efcbe382b259b1f2e338336d93987d5dfce43;hb=64521b7f5720cd25132e3feed4b15e99e35790db;hp=b3c0b09a6e46fe9e100079764d20bd14c9468870;hpb=1c29cf2b20f05eceb1d6355363cf4963469394c0;p=dak.git diff --git a/config/debian/cron.reboot b/config/debian/cron.reboot index b3c0b09a..865efcbe 100755 --- a/config/debian/cron.reboot +++ b/config/debian/cron.reboot @@ -20,6 +20,10 @@ set -e # make sure to only use defined variables set -u +# ERR traps should be inherited from functions too. (And command +# substitutions and subshells and whatnot, but for us the functions is +# the important part here) +set -E # import the general variable set. export SCRIPTVARS=/srv/ftp.debian.org/dak/config/debian/vars