From 81ff5ebf04adf858c6eb68bbbc5d790f31420b80 Mon Sep 17 00:00:00 2001 From: Adamo Date: Fri, 21 Apr 2023 06:13:32 +0000 Subject: [PATCH] Update backup.sh --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index df1618e..6b4cc60 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 $dset" + list_cmd="zfs list -t snapshot $rset" remote_cmd="$list_cmd|tail -n1|cut -d'@' -f2|cut -d' ' -f 1" run_remote }