Make it clearer when UUID not found

Fixes #10.
This commit is contained in:
James Barnett
2016-11-12 14:04:12 -06:00
parent 78bc6ff8b9
commit e2ab77ba43

View File

@@ -95,7 +95,7 @@ fi
if [[ "$disk" == -1 ]]; then if [[ "$disk" == -1 ]]; then
if [[ "$disk_count" == 0 && "$uuid_cmdline" != "none" ]]; 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 "ERROR: 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"
while [[ $disk -lt 0 || $disk -gt $i ]]; do while [[ $disk -lt 0 || $disk -gt $i ]]; do