From 0f2cc329e323b1b2356be76004701537b319667b Mon Sep 17 00:00:00 2001 From: Adamo Date: Fri, 21 Apr 2023 06:11:30 +0000 Subject: [PATCH] Bugfix remote snapshot get. --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index 4ab434b..df1618e 100755 --- a/backup.sh +++ b/backup.sh @@ -162,7 +162,7 @@ get_latest_remote_snapshot() *) zroot="$zroot/" ;; esac fi - list_cmd="zfs list -t snapshot $zroot$dset" + list_cmd="zfs list -t snapshot $dset" remote_cmd="$list_cmd|tail -n1|cut -d'@' -f2|cut -d' ' -f 1" run_remote }