-if test -s "$logfile"; then
- echo "hlwm: errors in autostart, check log '$logfile'" | notify 3
-else
- # To notify me if set -e has terminated the script.
- echo 'hlwm restarted' | notify 1
- rm "$logfile"
-fi
+# To notify me if set -e has terminated the script (then this part won't get
+# executed).
+echo 'hlwm restarted' | notify 1