Commit 0abe7d55 authored by intrigeri's avatar intrigeri
Browse files

Avoid failing the build when there's no open file in the tmpfs (refs: #12009).

parent 881d4b2c
...@@ -29,7 +29,7 @@ cleanup() { ...@@ -29,7 +29,7 @@ cleanup() {
remove_build_dirs() { remove_build_dirs() {
for mountpoint in $(old_build_dirs | tac) ; do for mountpoint in $(old_build_dirs | tac) ; do
sudo lsof | grep --fixed-strings "on $mountpoint" sudo lsof | grep --fixed-strings "on $mountpoint" || true
sudo umount -f -l "$mountpoint" sudo umount -f -l "$mountpoint"
sudo rm -rf "$mountpoint" sudo rm -rf "$mountpoint"
done 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