AK3: silence placeholder cleanup rmdir noise

This commit is contained in:
Chris Renshaw authored and GitHub committed 2022-06-07 20:19:45 -03:00
1 parent 9758c926da
commit c8961dedb8
1 file changed
+1 -1
+1 -1
View File
@@ -749,7 +749,7 @@ setup_ak() {
# clean up any template placeholder files
cd $home;
rm -f modules/system/lib/modules/placeholder patch/placeholder ramdisk/placeholder;
rmdir -p modules patch ramdisk;
rmdir -p modules patch ramdisk 2>/dev/null;
# automate simple multi-partition setup for boot_img_hdr_v3 + vendor_boot
if [ -e "/dev/block/bootdevice/by-name/vendor_boot$slot" -a ! -f vendor_setup ] && [ -f dtb -o -d vendor_ramdisk -o -d vendor_patch ]; then