[PATCH] launch-helper: fix error code parsing
Submitted by Chengwei Yang
Assigned to D-Bus Maintainers
<servicehelper> used to activate a system service, it will do some user check, however, if
<user> doesn't specified in system.conf, the user will be "" because it always make sure parser->user initialized as a DBusString, I think the idea behind is to avoid OOM later.
However, when the above situation occurrs, the error is a little confusing.
" Error org.freedesktop.DBus.Error.Spawn.PermissionsInvalid: The permission of the setuid helper is not correct "
I think it's better to compalin like below.
" Error org.freedesktop.DBus.Error.Spawn.ConfigInvalid: Could not get user from config file "