diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-17 17:33:31 +0000 |
---|---|---|
committer | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-17 17:33:31 +0000 |
commit | bea349c82237ee165baaf1f7e8043a26e0c14417 (patch) | |
tree | 6753d864656a7cc24eb99abac8a8ee8d0e1b2939 | |
parent | d5dfe38bfba2a8206c34d6fb9c0c40096a63c4e9 (diff) | |
download | vyos-live-build-bea349c82237ee165baaf1f7e8043a26e0c14417.tar.gz vyos-live-build-bea349c82237ee165baaf1f7e8043a26e0c14417.zip |
exit: fix missing local scope
missed in c55eb8a0c3ca5b8ed1081e7eb8a423563288fb58
Gbp-Dch: Ignore
-rwxr-xr-x | functions/exit.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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) |