Commit 3c89ca0a authored by intrigeri's avatar intrigeri
Browse files

build-tails: fix lsof|grep pattern (refs: #12009).

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