chiark / gitweb /
bin/wakey.sh: Fix the sense of the startup condition.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 21 Apr 2020 18:04:53 +0000 (19:04 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 21 Apr 2020 18:10:02 +0000 (19:10 +0100)
bin/wakey.sh

index 6f008a9930616a976d61ea9bcaf81a7631460e3e..5635369389c075ad37125e93dbcc9d387c157793 100644 (file)
@@ -61,8 +61,7 @@ __wakey_precmd () {
 }
 
 case ${DISPLAY+t},${WINDOWID+t},${__mdw_precmd_hook+t},${mdw__preexec_hook+t} in
-  t,t,t,t) ;;
-  *)
+  t,t,t,t)
     if __mdw_programp notify-send ; then
       __mdw_addhook __mdw_preexec_hook __wakey_preexec
       __mdw_addhook __mdw_precmd_hook __wakey_precmd