X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubox.git;a=blobdiff_plain;f=mount_root.c;h=96d1007dea91524fc32e6ec41b784f53358db264;hp=de78539122aa334ecdc8285313307459c83faa87;hb=1b19fc217e33e9b2fc2fab6f9552da740d03a98a;hpb=768f6a1a1c06b2a04a8c2453f419eb439f6a48a0 diff --git a/mount_root.c b/mount_root.c index de78539..96d1007 100644 --- a/mount_root.c +++ b/mount_root.c @@ -539,7 +539,7 @@ static int extroot(void) umount("/tmp/overlay"); } else if (fopivot("/overlay", "/rom")) { ERROR("switching to extroot failed - continue normal boot\n"); - umount("overlay"); + umount("/overlay"); } else { return 0; }