diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-02-05 02:11:18 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-05 02:11:18 +0100 |
commit | b4f052a05ab66d78290892382f33f20593001064 (patch) | |
tree | a8d3c3bb1a09b891b7b3a476575983549b9712b3 /src | |
parent | c7040b5d1c2c148f12b6a5eef3dfce1661805131 (diff) |
kill: fix error return
Diffstat (limited to 'src')
-rw-r--r-- | src/core/dbus-kill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-kill.c b/src/core/dbus-kill.c index f3cfb226e8..025945a23a 100644 --- a/src/core/dbus-kill.c +++ b/src/core/dbus-kill.c @@ -78,7 +78,7 @@ int bus_kill_context_set_transient_property( return r; if (sig <= 0 || sig >= _NSIG) - return sd_bus_error_setf(error, "Signal %i out of range", sig); + return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Signal %i out of range", sig); if (mode != UNIT_CHECK) { c->kill_signal = sig; |