1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00

Try to determine what is causing umount to fail by using lsof

This commit is contained in:
downtownallday 2022-10-29 19:34:15 -04:00
parent e4c20641c3
commit 51ba8d8774

View File

@ -33,6 +33,9 @@ if [ "$1" != "--no-umount" ]; then
code=$?
let tries+=1
done
if [ $code -eq 2 ]; then
echo "Giving up! (lsof: $(/usr/bin/lsof | grep "$STORAGE_ROOT"))"
fi
else
code=0
fi