diff --git a/scripts/common-functions.sh b/scripts/common-functions.sh index 3592298f456b3635805bbb2997b6abc4c75adcb2..380ffe370158204648f79ebc7f99bebae550ebad 100755 --- a/scripts/common-functions.sh +++ b/scripts/common-functions.sh @@ -69,7 +69,7 @@ closeChroot() umount -l "$CHROOTDIR"/sys && removeMountList "$CHROOTDIR"/sys fi if grep -qs "$CHROOTDIR/proc" /proc/mounts; then - umount -l "$CHROOTDIR"/proc && removeMountLit "$CHROOTDIR"/proc + umount -l "$CHROOTDIR"/proc && removeMountList "$CHROOTDIR"/proc fi if grep -qs "$CHROOTDIR/dev" /proc/mounts; then umount -l "$CHROOTDIR"/dev && removeMountList "$CHROOTDIR"/dev