diff --git a/ehdd/shutdown.sh b/ehdd/shutdown.sh index 45356577..ec6b764c 100755 --- a/ehdd/shutdown.sh +++ b/ehdd/shutdown.sh @@ -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