diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2013-10-09 08:50:37 +0800 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-10-09 10:51:39 +0100 |
commit | 867bdd890fc3e4da9246932461203a682ad6ec70 (patch) | |
tree | 7bcd6b833a756f24839ebebb0febea0a3bfd5722 /bus/activation-helper.c | |
parent | 76c5deff5c50c118e40fcfd245f60f1b4f7c4cbd (diff) |
launch-helper: fix error code parsing
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66728
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'bus/activation-helper.c')
-rw-r--r-- | bus/activation-helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/activation-helper.c b/bus/activation-helper.c index e3b3323c..394f3938 100644 --- a/bus/activation-helper.c +++ b/bus/activation-helper.c @@ -372,7 +372,7 @@ check_bus_name (const char *bus_name, _dbus_string_init_const (&str, bus_name); if (!_dbus_validate_bus_name (&str, 0, _dbus_string_get_length (&str))) { - dbus_set_error (error, DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND, + dbus_set_error (error, DBUS_ERROR_SPAWN_SERVICE_INVALID, "bus name '%s' is not a valid bus name\n", bus_name); return FALSE; |