AK2: silence possible expected mount stderr with AVB signing

This commit is contained in:
osm0sis committed 2017-08-20 01:00:53 -03:00
1 parent e6d3b4271e
commit ce29998bf9
1 file changed
+1 -1
+1 -1
View File
@@ -193,7 +193,7 @@ write_boot() {
if [ -f "$bin/BootSignature_Android.jar" -a -d "$bin/avb" ]; then
if [ -f "/system/system/bin/dalvikvm" ]; then
umount /system;
umount /system;
umount /system 2>/dev/null;
mkdir /system_root;
mount -o ro -t auto /dev/block/bootdevice/by-name/system$slot /system_root;
mount -o bind /system_root/system /system;