We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 024a472 commit 14a3699Copy full SHA for 14a3699
tools/clean.sh
@@ -97,7 +97,7 @@ umount_chroot () {
97
if [[ ! -d "${work_dir}" ]]; then
98
return 0
99
fi
100
- for _mount in $(find "${build_dir}" -mindepth 1 -type d -printf "%p\0" | xargs -0 -I{} bash -c "mountpoint -q {} && echo {}" | tac | grep -xv "$(realpath -s ${airootfs_dir})"); do
+ for _mount in $(find "${build_dir}" -mindepth 1 -type d -printf "%p\0" | xargs -0 -I{} bash -c "mountpoint -q {} && echo {}" | tac); do
101
if echo "${_mount}" | grep "${work_dir}" > /dev/null 2>&1 || echo "${_mount}" | grep "${script_path}" > /dev/null 2>&1 || echo "${_mount}" | grep "${out_dir}" > /dev/null 2>&1; then
102
msg_info "Unmounting ${_mount}"
103
_umount "${_mount}" 2> /dev/null
0 commit comments