summaryrefslogtreecommitdiff
path: root/config/GiveConsole
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2018-07-11 19:20:41 +0000
committerMatthieu Herrb <matthieu@herrb.eu>2020-07-14 15:52:41 +0200
commit137819faff4a14458760167ab1c8078998608bae (patch)
treef6e63c7e6861b228166388a68100d0b29b88f831 /config/GiveConsole
parentbaa348f8d3f9b485a36ad6c697ed28e7c8d886e5 (diff)
sessreg -x is useless if not updating utmp. Remove it. Also don't try to remove utmp lines that were not written.
Diffstat (limited to 'config/GiveConsole')
-rw-r--r--config/GiveConsole2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/GiveConsole b/config/GiveConsole
index b209f17..824856f 100644
--- a/config/GiveConsole
+++ b/config/GiveConsole
@@ -11,4 +11,4 @@ chown $USER /dev/console
if [ -c /dev/drm0 ]; then
chown $USER /dev/drm0
fi
-/usr/X11R6/bin/sessreg -a -l $DISPLAY -u none -x /etc/X11/xenodm/Xservers $USER
+/usr/X11R6/bin/sessreg -a -l $DISPLAY -u none $USER