summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-05-14 08:50:00 +0200
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commit8bb71d26a90460ed8e138140c16a71e0f560e0cd (patch)
tree7a87078268bc5069235042984be37700b07167bc
parent7a4300020c2dc660a02fc40d6ff21d16756ff08a (diff)
core/mount-setup: remove part of check which is always true
f1470e424b2b5337e3c383d68dc5a26af1ff4ce6 removed one check, but missed a similar one a few lines down. CID #1390949.
-rw-r--r--src/core/mount-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
index ac8c32c13..b115de3bc 100644
--- 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++) {