X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.reboot;h=241dd84670be4b9d155bf64d172887fc989ed423;hb=6de9dda69133cf474a9db71bc1bf9d1e4dfe04b5;hp=b3c0b09a6e46fe9e100079764d20bd14c9468870;hpb=1c29cf2b20f05eceb1d6355363cf4963469394c0;p=dak.git diff --git a/config/debian/cron.reboot b/config/debian/cron.reboot index b3c0b09a..241dd846 100755 --- a/config/debian/cron.reboot +++ b/config/debian/cron.reboot @@ -20,9 +20,13 @@ 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 +export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars . $SCRIPTVARS # common functions are "outsourced"