X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.reboot;h=241dd84670be4b9d155bf64d172887fc989ed423;hb=6411bdb24f02bb6ab902502ae4b0c78bf7dc9034;hp=b3c0b09a6e46fe9e100079764d20bd14c9468870;hpb=74cf3b9ed589b4845048f51a96b3d6f50cca94f8;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"