summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-05-14 08:50:00 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-05-14 08:50:00 +0200
commit6978efcffb1aaab67444afb9f0369582ec88996a (patch)
tree26485d6b2e23769034114b61a6f34d12b6253f14 /src
parentman: fix reference in StandardOutput= (diff)
downloadsystemd-6978efcffb1aaab67444afb9f0369582ec88996a.tar.xz
systemd-6978efcffb1aaab67444afb9f0369582ec88996a.zip
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.
Diffstat (limited to 'src')
-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 79300332a8..e9d69728fa 100644
--- a/src/core/mount-setup.c
+++ b/src/core/mount-setup.c
@@ -317,7 +317,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++) {