X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.reboot;h=b0129733422ee1ff4e8e4ec40e13f356a4cd1654;hb=0216544ee8c5aca451b9133f908adb686cd8f68d;hp=b3c0b09a6e46fe9e100079764d20bd14c9468870;hpb=6a4cddfbe864e563e671fe5dabf5600c4783af5c;p=dak.git diff --git a/config/debian/cron.reboot b/config/debian/cron.reboot index b3c0b09a..b0129733 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" @@ -35,7 +39,7 @@ DEBUG=0 PROGRAM="dinstall_reboot" # where do we want mails to go? For example log entries made with error() -if [ "x$(hostname -s)x" != "xriesx" ]; then +if [ "x$(hostname -s)x" != "xfranckx" ]; then # Not our ftpmaster host MAILTO=${MAILTO:-"root"} else