summaryrefslogtreecommitdiffstats
path: root/bus/activation-helper-bin.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/activation-helper-bin.c')
-rw-r--r--bus/activation-helper-bin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bus/activation-helper-bin.c b/bus/activation-helper-bin.c
index 248a86f7..4a359726 100644
--- a/bus/activation-helper-bin.c
+++ b/bus/activation-helper-bin.c
@@ -58,6 +58,9 @@ convert_error_to_exit_code (DBusError *error)
if (dbus_error_has_name (error, DBUS_ERROR_INVALID_ARGS))
return BUS_SPAWN_EXIT_CODE_INVALID_ARGS;
+
+ if (dbus_error_has_name (error, DBUS_ERROR_SPAWN_CHILD_SIGNALED))
+ return BUS_SPAWN_EXIT_CODE_CHILD_SIGNALED;
/* should we assert? */
fprintf(stderr, "%s: %s\n", error->name, error->message);