add sudo into update_sdcard.sh

This commit is contained in:
Xianjun Jiao 2023-03-14 13:35:38 +01:00
parent 7f62f3d5bf
commit bed4d10878

View File

@ -189,5 +189,5 @@ sync
cd $home_dir cd $home_dir
umount $SDCARD_DIR/BOOT/ sudo umount $SDCARD_DIR/BOOT/
umount $SDCARD_DIR/rootfs/ sudo umount $SDCARD_DIR/rootfs/