1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 09:21:26 +03:00

core/namespace: remove invalid check

dir cannot be NULL here, because it was allocated with alloca.

CID #1237768.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-10-03 19:17:56 -04:00
parent 1775f1ebc4
commit d267c5aa3d

View File

@ -263,11 +263,8 @@ fail:
if (devmqueue)
umount(devmqueue);
if (dev) {
umount(dev);
rmdir(dev);
}
umount(dev);
rmdir(dev);
rmdir(temporary_mount);
return r;