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 2e02bf1 commit ba500f4Copy full SHA for ba500f4
tools/clean.sh
@@ -143,6 +143,9 @@ if (( ! "${EUID}" == 0 )); then
143
msg_error "This script must be run as root." "1"
144
fi
145
146
+# Fullpath
147
+work_dir="$(realpath "${work_dir}")"
148
+
149
if [[ ! "${noconfirm}" = true ]] && (( "$(find "${work_dir}" -type f 2> /dev/null | wc -l)" != 0 )); then
150
msg_warn "Forcibly unmount all devices mounted under the following directories and delete them recursively."
151
msg_warn "${work_dir}"
0 commit comments