From 78b00e2f1766a7dc9e72f0ff15e11c1e1505941f Mon Sep 17 00:00:00 2001 From: Adamo Date: Fri, 21 Apr 2023 06:14:03 +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 6b4cc60..a5f0d7e 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 $rset" + list_cmd="zfs list -t snapshot $zroot$rset" remote_cmd="$list_cmd|tail -n1|cut -d'@' -f2|cut -d' ' -f 1" run_remote }