[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)

erinn at torproject.org erinn at torproject.org
Fri Jan 25 15:48:55 UTC 2013


commit 645cddc25447fd66fe91dec83156179c723d402b
Author: peer <peer at lavabit.com>
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



More information about the tor-commits mailing list