summaryrefslogtreecommitdiffstats
path: root/x11/gdm2/files/patch-config_PostSession
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gdm2/files/patch-config_PostSession')
-rw-r--r--x11/gdm2/files/patch-config_PostSession11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/gdm2/files/patch-config_PostSession b/x11/gdm2/files/patch-config_PostSession
new file mode 100644
index 000000000..98433e066
--- /dev/null
+++ b/x11/gdm2/files/patch-config_PostSession
@@ -0,0 +1,11 @@
+--- config/PostSession.orig Wed Dec 4 14:05:13 2002
++++ config/PostSession Wed Dec 4 14:05:34 2002
+@@ -2,7 +2,7 @@
+
+ PATH=/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin:$PATH
+
+-if command -v sessreg > /dev/null 2>&1; then
++if /usr/bin/which -s sessreg > /dev/null 2>&1; then
+ sessreg -d -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l $DISPLAY $USER
+ fi
+ exit 0