[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible maintenance: deal gracefully with unmount probs
Holger Levsen
gitlab at salsa.debian.org
Wed Jan 22 18:51:33 GMT 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
a555f19e by Holger Levsen at 2020-01-22T19:51:16+01:00
reproducible maintenance: deal gracefully with unmount probs
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_maintenance.sh
Changes:
=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -415,7 +415,7 @@ if [ ! -z "$OLDSTUFF" ] ; then
# try to unmount mounts first
for MP in $(find /schroots/ -maxdepth 1 -type d -regextype posix-extended -regex "$regex" -mtime +2 ) ; do
if [ -d $MP/proc ] ; then
- sudo umount -l $MP/proc 2>/dev/null
+ sudo umount -l $MP/proc 2>/dev/null || echo "umount -l $MP/proc failed, continueing."
fi
done
echo
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/a555f19e5b2952b16646baef2e94531dfd70ceb6
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/a555f19e5b2952b16646baef2e94531dfd70ceb6
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200122/d245fb4f/attachment.html>
More information about the Qa-jenkins-scm
mailing list