2007-07-26 Havoc Pennington <hp@redhat.com>
[platform/upstream/dbus.git] / bus / activation-helper-bin.c
index 248a86f..4a35972 100644 (file)
@@ -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);