From c51128a3eda7d51c345a717cd5430f95484afa10 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Fri, 6 Jun 2014 10:35:50 +0200 Subject: [PATCH] zb-pull: output fixes --- zb-pull | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zb-pull b/zb-pull index 32e6801..bf6acdf 100755 --- a/zb-pull +++ b/zb-pull @@ -31,9 +31,9 @@ done | sort -n | while read l ; do newest="$snapname" - if zfs list -t snapshot -H "${local_zfs}@zb-${snapname}" >/dev/null ; then + if zfs list -t snapshot -H "${local_zfs}@zb-${snapname}" ; then newest_common="$snapname" - fi + fi >/dev/null 2>/dev/null done # some checks