changeset 423:1d6ee78f06ef

FIX: Another typo in variable name (COPY-PASTE)
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 19 Sep 2023 20:23:54 +0200
parents 4363929b0a3e
children a200c18603c9
files sbin/fzfs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sbin/fzfs	Tue Sep 19 20:19:04 2023 +0200
+++ b/sbin/fzfs	Tue Sep 19 20:23:54 2023 +0200
@@ -286,7 +286,7 @@
     _ds_target="${2-}"
 
     [ -z "${_ds_source}" ] && { echo "ERROR: no source given" 1>&2; return 2; }
-    [ -z "${_snapshot_name}" ] && { echo "ERROR: no snapshot name given" 1>&2; return 2; }
+    [ -z "${_ds_target}" ] && { echo "ERROR: no target name given" 1>&2; return 2; }
 
     _ds_source_base="${_ds_source%@*}"
     _ds_source_snapshot="${_ds_source##*@}"