mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
core/namespace: remove invalid check
root cannot be NULL here, because it was allocated with alloca. CID #1237769.
This commit is contained in:
parent
7057bd9931
commit
1775f1ebc4
@ -341,11 +341,8 @@ fail:
|
||||
unlink(busnode);
|
||||
}
|
||||
|
||||
if (root) {
|
||||
umount(root);
|
||||
rmdir(root);
|
||||
}
|
||||
|
||||
umount(root);
|
||||
rmdir(root);
|
||||
rmdir(temporary_mount);
|
||||
|
||||
return r;
|
||||
|
Loading…
Reference in New Issue
Block a user