projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7040b5
)
kill: fix error return
author
Lennart Poettering
<lennart@poettering.net>
Wed, 5 Feb 2014 01:11:18 +0000
(
02:11
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 5 Feb 2014 01:11:18 +0000
(
02:11
+0100)
src/core/dbus-kill.c
patch
|
blob
|
history
diff --git
a/src/core/dbus-kill.c
b/src/core/dbus-kill.c
index
f3cfb22
..
025945a
100644
(file)
--- 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;