mkimage.sh.in: Fix typo in cleanup code
This commit is contained in:
parent
6e1d80b78b
commit
0b638dd785
@ -41,7 +41,7 @@ trap 'printf "\nInterrupted! exiting...\n"; cleanup; exit 0' INT TERM HUP
|
|||||||
# defined after sourcing the library functions to ensure it is the
|
# defined after sourcing the library functions to ensure it is the
|
||||||
# last one defined.
|
# last one defined.
|
||||||
cleanup() {
|
cleanup() {
|
||||||
unmount_pseudofs
|
umount_pseudofs
|
||||||
umount -f "${ROOTFS}/boot" 2>/dev/null
|
umount -f "${ROOTFS}/boot" 2>/dev/null
|
||||||
umount -f "${ROOTFS}" 2>/dev/null
|
umount -f "${ROOTFS}" 2>/dev/null
|
||||||
if [ -e "$LOOPDEV" ]; then
|
if [ -e "$LOOPDEV" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user