[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbrowser/maint-2.4] no need to connect to a session manager; avoid connection attempts and address Qt warning message by unsetting a variable (fixes #5261)



commit 645cddc25447fd66fe91dec83156179c723d402b
Author: peer <peer@xxxxxxxxxxx>
Date:   Thu Jan 17 15:02:00 2013 +0000

    no need to connect to a session manager; avoid connection attempts and address Qt warning message by unsetting a variable (fixes #5261)
---
 src/RelativeLink/RelativeLink.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/RelativeLink/RelativeLink.sh b/src/RelativeLink/RelativeLink.sh
index 35846b1..3d45d68 100755
--- a/src/RelativeLink/RelativeLink.sh
+++ b/src/RelativeLink/RelativeLink.sh
@@ -17,6 +17,9 @@ if [ "x$DISPLAY" = "x" ]; then
 	exit 1
 fi
 
+# Do not (try to) connect to the session manager 
+unset SESSION_MANAGER 
+
 # Determine whether we are running in a terminal.  If we are, we
 # should send our error messages to stderr...
 ARE_WE_RUNNING_IN_A_TERMINAL=0

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits