Unmount device on overlay failure before continuing to next device. Overlay support works from different device without unmounting the first device, so this might be a bug in BusyBox.
This commit is contained in:
parent
ecd53af5ce
commit
07da9983c1
@ -101,6 +101,7 @@ for DEVICE in /dev/* ; do
|
|||||||
OUT=\$?
|
OUT=\$?
|
||||||
if [ ! "\$OUT" = "0" ] ; then
|
if [ ! "\$OUT" = "0" ] ; then
|
||||||
echo " Mount failed (probably on vfat), moving on with other devices."
|
echo " Mount failed (probably on vfat), moving on with other devices."
|
||||||
|
umount /tmp/mnt 2>/dev/null
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user