Commit 897fd754 authored by intrigeri's avatar intrigeri
Browse files

build-tails: make the umount call verbose (refs: #12009).

… in the hope that it tells us why the filesystem cannot be unmounted,
if this ever happens.
parent 0c3b0369
......@@ -30,7 +30,7 @@ cleanup() {
remove_build_dirs() {
for mountpoint in $(old_build_dirs | tac) ; do
sudo lsof | grep --fixed-strings "$mountpoint" || true
sudo umount -f "$mountpoint"
sudo umount -f --verbose "$mountpoint"
sudo rm -rf "$mountpoint"
done
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment