]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/cron.reboot
Proper timestamps in the logs
[dak.git] / config / debian / cron.reboot
index 78c0e9ba62e3cfbbb0386e7f6541474aae8fe63b..dc802dc2579ad368b9fce4ff9f766d1a90f6a456 100755 (executable)
@@ -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