aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-04-01 14:07:50 -0800
committerH. Peter Anvin <hpa@zytor.com>2006-04-01 14:07:50 -0800
commit3def9e8b76f265ce6e5556f1a14d5772bc407ad7 (patch)
tree0f296298f1b658a8545ae84b601ad7095c48cbf6
parent1640a26093439b3c7ac94d9e62c7cc96f4cc4739 (diff)
downloadklibc-3def9e8b76f265ce6e5556f1a14d5772bc407ad7.tar.gz
[klibc] Fix bogus check that failed for ro-mounted filesystems
Based on a patch by Aaron Griffin <aaronmgriffin@gmail.com>. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--usr/kinit/kinit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/kinit/kinit.c b/usr/kinit/kinit.c
index e3c24361d8f46..8a5d2483d4752 100644
--- a/usr/kinit/kinit.c
+++ b/usr/kinit/kinit.c
@@ -307,8 +307,6 @@ int main(int argc, char *argv[])
check_path("/root");
do_mounts(cmdc, cmdv);
- /* do_mounts cd's to /root so below tests /root/old_root */
- check_path("old_root");
if (mnt_procfs == 1)
umount2("/proc", 0);