summaryrefslogtreecommitdiff
path: root/tools/dbus-launch.c
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2013-06-12 16:05:53 +0100
committerSimon McVittie <smcv@debian.org>2013-06-12 16:05:53 +0100
commit74d2166e5fad7901881ed61b4bb12f78ceec0d5f (patch)
treee5cb32e2960b7f1d955483c15e916228b47f3215 /tools/dbus-launch.c
parent240a7a11d080e12a8572a65559b007518a985f1f (diff)
downloaddbus-upstream/1.4.26.tar.gz
Imported Upstream version 1.4.26upstream/1.4.26
Diffstat (limited to 'tools/dbus-launch.c')
-rw-r--r--tools/dbus-launch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c
index bbaac2c3..bb639a11 100644
--- a/tools/dbus-launch.c
+++ b/tools/dbus-launch.c
@@ -583,6 +583,7 @@ babysit (int exit_with_session,
s = getenv ("DBUS_DEBUG_OUTPUT");
if (s == NULL || *s == '\0')
dup2 (dev_null_fd, 2);
+ close (dev_null_fd);
}
else
{