mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
core/mount-setup: remove part of check which is always true
k was set to join_controllers at this point and only incremented, so it cannot be null at this point. CID #1390949.
This commit is contained in:
parent
027cc9c92e
commit
f1470e424b
@ -279,7 +279,7 @@ int mount_cgroup_controllers(char ***join_controllers) {
|
||||
if (strv_find(*k, controller))
|
||||
break;
|
||||
|
||||
if (k && *k) {
|
||||
if (*k) {
|
||||
char **i, **j;
|
||||
|
||||
for (i = *k, j = *k; *i; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user