diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-05-14 08:50:00 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-05-14 08:50:00 +0200 |
commit | 6978efcffb1aaab67444afb9f0369582ec88996a (patch) | |
tree | 26485d6b2e23769034114b61a6f34d12b6253f14 /src | |
parent | man: fix reference in StandardOutput= (diff) | |
download | systemd-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.c | 2 |
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++) { |