Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
3c89ca0a
Commit
3c89ca0a
authored
Dec 20, 2016
by
intrigeri
Browse files
build-tails: fix lsof|grep pattern (refs: #12009).
parent
0abe7d55
Changes
1
Hide whitespace changes
Inline
Side-by-side
vagrant/provision/assets/build-tails
View file @
3c89ca0a
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment