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() {
remove_build_dirs() {
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 rm -rf "$mountpoint"
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