session-helper: return after sending DBus error

Make sure we let the caller know we handled the message immediately after
sending our error reply.
This commit is contained in:
Christian Hergert
2016-09-12 01:37:22 -07:00
parent 3fafba8b1e
commit bed5eb5863

View File

@@ -283,6 +283,7 @@ handle_host_command (FlatpakDevelopment *object,
g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, code,
"Failed to start command: %s",
error->message);
return TRUE;
}
pid_data = g_new0 (PidData, 1);