From 9ab654a6c41b68d83358efe7fd641063b7dd404c Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sat, 22 Mar 2008 18:53:55 +0000 Subject: [PATCH] Fix regexp to determine xserver and dbus correctly svn path=/nixos/trunk/; revision=11265 --- system/switch-to-configuration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..."