From cdd775cb901cd05dc3708ad667ec4a2c9e66c94a Mon Sep 17 00:00:00 2001 From: James Barnett Date: Tue, 8 Nov 2016 14:38:37 -0600 Subject: [PATCH] fix check --- bin/snap-sync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/snap-sync b/bin/snap-sync index cbee6c0..b43a031 100755 --- a/bin/snap-sync +++ b/bin/snap-sync @@ -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"