diff --git a/src/freedombone-utils-backup b/src/freedombone-utils-backup index 564d03d3..cb75411b 100755 --- a/src/freedombone-utils-backup +++ b/src/freedombone-utils-backup @@ -118,7 +118,11 @@ function backup_to_friends_servers { function backup_mount_drive { if [ $1 ]; then - USB_DRIVE=/dev/${1}1 + if [[ "$1" == "/dev/"* ]]; then + USB_DRIVE=$1 + else + USB_DRIVE=/dev/${1}1 + fi fi # get the admin user