We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e093b53 commit 21ec685Copy full SHA for 21ec685
lib.sh
@@ -34,7 +34,7 @@ ROOTFS_LOCK="/tmp/kUaL_lInUx_mOuNtEd"
34
INNER_TMP="/tmp/kUaL_lInUx"
35
mkdir -p tmp.testext4
36
cp rootfs.ext4.base tmp.testext4.img || fail
37
-if mount -o loop tmp.testext4.img tmp.testext4; then
+if mount -o loop tmp.testext4.img tmp.testext4 2>/dev/null; then
38
echo This kernel support ext4.
39
ROOTFS_TYPE=ext4
40
else
@@ -44,8 +44,8 @@ else
44
echo This kernel support ext3.
45
ROOTFS_TYPE=ext3
46
fi
47
-umount tmp.testext4
48
-umount tmp.testext3
+umount tmp.testext4 2>/dev/null
+umount tmp.testext3 2>/dev/null
49
rm -fr tmp.*
50
51
get_rootfs_tgz_filename(){
0 commit comments