forked from mirrors/nixpkgs
Fix regexp to determine xserver and dbus correctly
svn path=/nixos/trunk/; revision=11265
This commit is contained in:
parent
060533c8a1
commit
9ab654a6c4
|
@ -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..."
|
||||
|
|
Loading…
Reference in a new issue