Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Shutup grep
· 851a0729
Joerg Jaspert
authored
Mar 11, 2019
851a0729
Merge branch 'master' into deploy
· 36f9824e
Joerg Jaspert
authored
Mar 11, 2019
* master: Shutup grep
36f9824e
Show whitespace changes
Inline
Side-by-side
scripts/debian/link_morgue.sh
View file @
36f9824e
...
...
@@ -138,7 +138,7 @@ while read mfile; do
# *shouldnt* list multiple. Also, even if it does, we don*t
# care. It shows us snapshot has it, which is all we care
# about.
if
grep
--max-count
=
1
${
mshasum
}
${
HASHFILE
}
;
then
if
grep
-q
--max-count
=
1
${
mshasum
}
${
HASHFILE
}
;
then
# Yes, lets symlink it
# Yay for tons of dangling symlinks, but when this is done a rsync
# will run and transfer the whole shitload of links over to the morgue host.
...
...