chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a43000
)
core/mount-setup: remove part of check which is always true
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Mon, 14 May 2018 06:50:00 +0000
(08:50 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000
(16:47 +0200)
f1470e424b2b5337e3c383d68dc5a26af1ff4ce6
removed one check, but missed a similar
one a few lines down.
CID #
1390949
.
src/core/mount-setup.c
patch
|
blob
|
history
diff --git
a/src/core/mount-setup.c
b/src/core/mount-setup.c
index ac8c32c13954350fa9f034109abf2b0cab3e04f8..b115de3bc02b5894eb76622b1e7f5d07c8bbe975 100644
(file)
--- a/
src/core/mount-setup.c
+++ b/
src/core/mount-setup.c
@@
-332,7
+332,7
@@
int mount_cgroup_controllers(char ***join_controllers) {
if (r < 0)
return r;
- if (r > 0 &&
k &&
*k) {
+ if (r > 0 && *k) {
char **i;
for (i = *k; *i; i++) {