Skip to content

Commit

Permalink
use eject over umount
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanJakobo committed Sep 26, 2023
1 parent e876fe3 commit 441cf54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ while getopts ":hclu" o; do
;;
u)
if mount | grep /mnt/Pocketbook > /dev/null; then
sudo umount /mnt/Pocketbook
echo "Pocketbook umounted"
sudo eject /mnt/Pocketbook
echo "Pocketbook ejected"
else
echo "/mnt/Pocketbook not mounted."
fi
Expand Down

0 comments on commit 441cf54

Please sign in to comment.