Commit 741d7f2d authored by segfault's avatar segfault Committed by intrigeri
Browse files

Don't abort build if fuser doesn't find accesses (refs: #15990)

parent a384f2be
......@@ -34,7 +34,7 @@ remove_build_dirs() {
tries=0
sudo lsof | grep --fixed-strings "${mountpoint}" || true
while ! sudo umount -f --verbose "${mountpoint}" && [ $tries -lt 12 ]; do
sudo fuser --ismountpoint --mount "${mountpoint}" --kill
sudo fuser --ismountpoint --mount "${mountpoint}" --kill || true
sleep 5
tries=$(expr $tries + 1)
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