fix check

This commit is contained in:
James Barnett
2016-11-08 14:38:37 -06:00
parent 00caeb3008
commit cdd775cb90

View File

@@ -94,7 +94,7 @@ if [[ "$disk_count" > 1 ]]; then
fi
if [[ "$disk" == -1 ]]; then
if [[ "$disk_count" == 0 ]]; then
if [[ "$disk_count" == 0 && "$uuid_cmdline" != "none" ]]; then
printf "A device with UUID $uuid_cmdline was not found to be mounted, or it is not a BTRFS device.\n"
fi
printf "Select a mounted BTRFS device to backup to.\n"