summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/dbus-launch.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c
index 80d885f4..9f4c94ab 100644
--- a/tools/dbus-launch.c
+++ b/tools/dbus-launch.c
@@ -614,8 +614,10 @@ do_close_stderr (void)
close (2);
if (dup2 (fd, 2) == -1)
- // error; we can't report an error anymore...
- exit (1);
+ {
+ /* error; we can't report an error anymore... */
+ exit (1);
+ }
close (fd);
}