diff --git a/system/switch-to-configuration.sh b/system/switch-to-configuration.sh index 98a2775c7a7..ef1893880e2 100644 --- a/system/switch-to-configuration.sh +++ b/system/switch-to-configuration.sh @@ -73,7 +73,7 @@ if test "$action" = "switch" -o "$action" = "test"; then # Hack: skip the sys-* and ctrl-alt-delete events. # Another hack: don't restart the X server (that would kill all the clients). - if echo "$event" | grep -q "^sys-\|^ctrl-\|^xserver|^dbus"; then continue; fi + if echo "$event" | grep -q "^sys-\|^ctrl-\|^xserver\|^dbus"; then continue; fi if ! test -e "$oldEvents/$event"; then echo "starting $event..."