armbian-next: small cleanups: squash typos / add function keyword / add types / mark dead code

This commit is contained in:
Ricardo Pardini 2023-01-17 23:54:12 +01:00
parent 35fbb7ed6c
commit 164db02af5
No known key found for this signature in database
GPG Key ID: 3D38CA12A66C5D02

View File

@ -95,7 +95,7 @@ function build_rootfs_and_image() {
fi
# Completely and recursively unmount the directory. This will remove the tmpfs mount too
umount_chroot_recursive "${SDCARD}" "SDCARD"
umount_chroot_recursive "${SDCARD}" "SDCARD rootfs finished"
# Remove the dir
[[ -d "${SDCARD}" ]] && rm -rf --one-file-system "${SDCARD}"