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

This commit is contained in:
downtownallday committed 2022-10-29 19:34:15 -04:00
1 parent e4c20641c3
commit 51ba8d8774
1 file changed
+3
+3
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