diff --git a/pb.sh b/pb.sh index f0dbb66..e92337a 100755 --- a/pb.sh +++ b/pb.sh @@ -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