OSDN Git Service

init: avoid error if mnt exists
[android-x86/bootable-newinstaller.git] / initrd / init
index de90a84..a3d1d83 100755 (executable)
@@ -3,7 +3,7 @@
 # By Chih-Wei Huang <cwhuang@linux.org.tw>
 # and Thorsten Glaser <tg@mirbsd.org>
 #
-# Last updated 2015/10/23
+# Last updated 2017/01/09
 #
 # License: GNU Public License
 # We explicitely grant the right to use the scripts
@@ -101,7 +101,7 @@ check_root()
                rm -rf *
                return 1
        fi
-       mkdir mnt
+       mkdir -p mnt
        echo " found at $1"
        rm /sbin/mke2fs
        hash -r