summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsegfault <segfault@riseup.net>2018-11-11 15:46:19 +0100
committerintrigeri <intrigeri@boum.org>2018-11-27 11:20:35 +0000
commit741d7f2d3c43f03b680cea483610ca534be0724f (patch)
treecfd4efb6081a768ac38fccdd18c46059fdca7393
parenta384f2be44129a89fe100b04fe5edceff8e6e440 (diff)
Don't abort build if fuser doesn't find accesses (refs: #15990)
-rwxr-xr-xvagrant/provision/assets/build-tails2
1 files changed, 1 insertions, 1 deletions
diff --git a/vagrant/provision/assets/build-tails b/vagrant/provision/assets/build-tails
index 87fd478..050416e 100755
--- a/vagrant/provision/assets/build-tails
+++ b/vagrant/provision/assets/build-tails
@@ -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