[gnome-terminal] server: Sanitise the environment
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] server: Sanitise the environment
- Date: Sat, 15 Nov 2014 20:14:19 +0000 (UTC)
commit 65a0679a006e56d9f697e4ac9c5969e50b54652c
Author: Christian Persch <chpe gnome org>
Date: Thu Nov 6 22:06:09 2014 +0100
server: Sanitise the environment
src/server.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/server.c b/src/server.c
index a87de2d..ee21633 100644
--- a/src/server.c
+++ b/src/server.c
@@ -127,6 +127,9 @@ main (int argc, char **argv)
return _EXIT_FAILURE_NO_UTF8;
}
+ /* Sanitise environment */
+ g_unsetenv ("DBUS_STARTER_BUS_TYPE");
+
#ifndef ENABLE_DISTRO_PACKAGING
#ifdef HAVE_UBUNTU
/* Set some env vars to disable the ubuntu modules. Their package will be
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]