fix check
This commit is contained in:
@@ -94,7 +94,7 @@ if [[ "$disk_count" > 1 ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$disk" == -1 ]]; then
|
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"
|
printf "A device with UUID $uuid_cmdline was not found to be mounted, or it is not a BTRFS device.\n"
|
||||||
fi
|
fi
|
||||||
printf "Select a mounted BTRFS device to backup to.\n"
|
printf "Select a mounted BTRFS device to backup to.\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user