chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
systemctl: remove dead check
[elogind.git]
/
src
/
systemctl
/
systemctl.c
diff --git
a/src/systemctl/systemctl.c
b/src/systemctl/systemctl.c
index e915f6f3cfede573c5020c084e643fa087142e06..41f7b9f7aad1ba08e6bb127b11770e45966b703a 100644
(file)
--- a/
src/systemctl/systemctl.c
+++ b/
src/systemctl/systemctl.c
@@
-4547,7
+4547,7
@@
static int cat(sd_bus *bus, char **args) {
_cleanup_strv_free_ char **names = NULL;
char **name;
bool first = true, avoid_bus_cache;
- int r
= 0
;
+ int r;
assert(args);
@@
-4597,7
+4597,7
@@
static int cat(sd_bus *bus, char **args) {
}
}
- return
r < 0 ? r :
0;
+ return 0;
}
static int set_property(sd_bus *bus, char **args) {