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:
f5c4b52
)
coccinelle: run no-if-assignments.cocci again
author
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Mar 2018 15:33:38 +0000
(16:33 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Mar 2018 15:33:38 +0000
(16:33 +0100)
src/core/dbus-service.c
patch
|
blob
|
history
diff --git
a/src/core/dbus-service.c
b/src/core/dbus-service.c
index
6de905b
..
587d9b5
100644
(file)
--- a/
src/core/dbus-service.c
+++ b/
src/core/dbus-service.c
@@
-354,7
+354,8
@@
static int bus_service_set_transient_property(
if (streq(name, "SuccessExitStatus"))
return bus_set_transient_exit_status(u, name, &s->success_status, message, flags, error);
- if ((ci = service_exec_command_from_string(name)) >= 0)
+ ci = service_exec_command_from_string(name);
+ if (ci >= 0)
return bus_set_transient_exec_command(u, name, &s->exec_command[ci], message, flags, error);
if (streq(name, "StandardInputFileDescriptor"))