summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c
index ca2ce2c81..1125d2113 100644
--- a/mdk-stage1/init.c
+++ b/mdk-stage1/init.c
@@ -323,6 +323,7 @@ void unmount_filesystems(void)
disallow_eject = 1;
if (strcmp(fs[numfs].name, "/")
&& strcmp(fs[numfs].name, "/dev")
+ && strcmp(fs[numfs].name, "/sys")
&& strncmp(fs[numfs].name, "/proc", 5))
numfs++;
}