From: John Crispin Date: Thu, 20 Jun 2013 14:04:26 +0000 (+0200) Subject: fix invalid path in extroot exit path X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=21fe6632227f1351a227ce8ac7de1fdea654c5b8;p=project%2Fubox.git fix invalid path in extroot exit path Signed-off-by: John Crispin --- 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; }