X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.reboot;h=dc802dc2579ad368b9fce4ff9f766d1a90f6a456;hb=3da41a34b4439cc643cad154a9a42abe795d0380;hp=78c0e9ba62e3cfbbb0386e7f6541474aae8fe63b;hpb=b336f01839b4d4a860f272afb75ede307f4a6274;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