From 1a217f416be2a169b7516c9e3aaf032ea5e1ccbd Mon Sep 17 00:00:00 2001 From: Michael Albert Date: Wed, 12 Jul 2017 10:52:15 -0400 Subject: [PATCH] Fixed typo from TARKET to TARGET. --- bin/snap-sync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/snap-sync b/bin/snap-sync index 0c6187f..b2d2d10 100755 --- a/bin/snap-sync +++ b/bin/snap-sync @@ -162,7 +162,7 @@ fi if [[ "$(findmnt -n -v --target / -o FSTYPE)" == "btrfs" ]]; then EXCLUDE_UUID=$(findmnt -n -v -t btrfs --target / -o UUID) TARGETS=$($ssh findmnt -n -v -t btrfs -o UUID,TARGET --list | grep -v $EXCLUDE_UUID | awk '{print $2}') - UUIDS=$($ssh findmnt -n -v -t btrfs -o UUID,TARKET --list | grep -v $EXCLUDE_UUID | awk '{print $1}') + UUIDS=$($ssh findmnt -n -v -t btrfs -o UUID,TARGET --list | grep -v $EXCLUDE_UUID | awk '{print $1}') else TARGETS=$($ssh findmnt -n -v -t btrfs -o TARGET --list) UUIDS=$($ssh findmnt -n -v -t btrfs -o UUID --list)