AK2+Backend: tidy up remaining intentional stderr

- no need to see these when there is an expected error during normal use
This commit is contained in:
osm0sis committed 2017-05-26 22:57:13 -03:00
1 parent e8c2006d8a
commit 633e042fc6
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -48,9 +48,9 @@ ui_print "$(file_getprop /tmp/anykernel/anykernel.sh kernel.string)";
ui_print " ";
ui_print "AnyKernel2 by osm0sis @ xda-developers";
ui_print " ";
umount /system;
umount /system 2>/dev/null;
mount -o ro -t auto /system;
mount /data;
mount /data 2>/dev/null;
test -f /system/system/build.prop && root=/system;
if [ "$(file_getprop /tmp/anykernel/anykernel.sh do.devicecheck)" == 1 ]; then
+1 -1
View File
@@ -208,7 +208,7 @@ write_boot() {
$bin/flash_erase $block 0 0;
$bin/nandwrite -p $block /tmp/anykernel/boot-new.img;
else
dd if=/dev/zero of=$block;
dd if=/dev/zero of=$block 2>/dev/null;
dd if=/tmp/anykernel/boot-new.img of=$block;
fi;
}