[PC-BSD Commits] r18387 - pcbsd/current/src-qt4/qsu/src

svn at pcbsd.org svn at pcbsd.org
Thu Aug 9 07:09:24 PDT 2012


Author: kris
Date: 2012-08-09 14:09:24 +0000 (Thu, 09 Aug 2012)
New Revision: 18387

Modified:
   pcbsd/current/src-qt4/qsu/src/main.c
Log:

Unset DBUS_SESSION_BUS_ADDRESS, since new user can't connec to it anyway



Modified: pcbsd/current/src-qt4/qsu/src/main.c
===================================================================
--- pcbsd/current/src-qt4/qsu/src/main.c	2012-08-09 14:07:54 UTC (rev 18386)
+++ pcbsd/current/src-qt4/qsu/src/main.c	2012-08-09 14:09:24 UTC (rev 18387)
@@ -362,4 +362,7 @@
 		}
 		free(l_envlist);
 	}
+
+        // New user can't connect to it
+        unsetenv("DBUS_SESSION_BUS_ADDRESS");
 }



More information about the Commits mailing list