Bugfix remote snapshot get.

This commit is contained in:
Adamo 2023-04-21 06:11:30 +00:00
parent a5600ff6e6
commit 0f2cc329e3

View File

@ -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
}