From bea349c82237ee165baaf1f7e8043a26e0c14417 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Tue, 17 Mar 2020 17:33:31 +0000 Subject: exit: fix missing local scope missed in c55eb8a0c3ca5b8ed1081e7eb8a423563288fb58 Gbp-Dch: Ignore --- functions/exit.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/exit.sh b/functions/exit.sh index edfd50cb9..32340a481 100755 --- a/functions/exit.sh +++ b/functions/exit.sh @@ -29,6 +29,7 @@ Exit () # (e.g. due to running processes in chroot from user customizations) Echo_message "Begin unmounting filesystems..." + local DIRECTORY if [ -e /proc/mounts ] then for DIRECTORY in $(awk -v dir="${PWD}/chroot/" '$2 ~ dir { print $2 }' /proc/mounts | sort -r) -- cgit v1.2.3