X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=config%2Fdebian%2Fcron.reboot;h=dc802dc2579ad368b9fce4ff9f766d1a90f6a456;hb=813801add25896afc4bd9839f5d1fe0c05eea465;hp=78c0e9ba62e3cfbbb0386e7f6541474aae8fe63b;hpb=b2d06df451fcf23b97f572a4253ccfbd26d58f45;p=dak.git diff --git a/config/debian/cron.reboot b/config/debian/cron.reboot index 78c0e9ba..dc802dc2 100755 --- a/config/debian/cron.reboot +++ b/config/debian/cron.reboot @@ -45,7 +45,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" != "xfranckx" ]; then +if [[ ${HOSTNAME} != franck ]]; then # Not our ftpmaster host MAILTO=${MAILTO:-"root"} else