local/bin/btrfs-backup: Fix parent path in echo.

master
Pierre Neidhardt 2019-12-16 20:36:24 +01:00
parent c62e117d53
commit 14e5fcfaee
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ for i in "$SOURCE"/.snapshots/*; do
echo "Sending '$j' to '$target_i'..."
sudo btrfs send "$j" | sudo btrfs receive "$target_i"
else
echo "Sending '$j' to '$target_i' with parent '$j'..."
echo "Sending '$j' to '$target_i' with parent '$parent'..."
sudo btrfs send -p "$parent" "$j" | sudo btrfs receive "$target_i"
fi
fi