From d7eccfd4fccf97910d2add5337e446a993b2c7c6 Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Sat, 4 Mar 2023 23:40:58 +0100 Subject: [PATCH] Change logging --- bashclub-zsync/usr/bin/bashclub-zsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashclub-zsync/usr/bin/bashclub-zsync b/bashclub-zsync/usr/bin/bashclub-zsync index b27a97b..8a4f532 100644 --- a/bashclub-zsync/usr/bin/bashclub-zsync +++ b/bashclub-zsync/usr/bin/bashclub-zsync @@ -125,7 +125,7 @@ log "$exclude_list" for name in "${syncvols[@]}"; do - if [[ $debug == "-v" ]]; then log "Replicate $name"; fi + log "Replicate $name" if [[ $($ssh $sshcipher $sshport $source "zfs list -H -t snapshot -o name -S creation $name 2>/dev/null | grep -E \"$snapshot_filter\" | wc -l") -gt 0 ]]; then IFS=$' ' if [ $($zfs list -H $target/$name > /dev/null 2>&1 ; echo $?) -gt 0 ]; then