[systemd-commits] src/core
Lennart Poettering
lennart at kemper.freedesktop.org
Tue Feb 4 17:11:30 PST 2014
src/core/dbus-kill.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b4f052a05ab66d78290892382f33f20593001064
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 5 02:11:18 2014 +0100
kill: fix error return
diff --git a/src/core/dbus-kill.c b/src/core/dbus-kill.c
index f3cfb22..025945a 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;
More information about the systemd-commits
mailing list