summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/bsdconfig/share/strings.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/share/strings.subr b/usr.sbin/bsdconfig/share/strings.subr
index 4fd4dc0..a4e436b 100644
--- a/usr.sbin/bsdconfig/share/strings.subr
+++ b/usr.sbin/bsdconfig/share/strings.subr
@@ -253,7 +253,7 @@ f_str2varname()
#
# foo="abc'123"
# f_shell_escape "$foo" bar # bar=[abc'\''123]
-# eval echo \'$foo\' # produces abc'123
+# eval echo \'$bar\' # produces abc'123
#
# This is helpful when processing an argument list that has to retain its
# escaped structure for later evaluations.
OpenPOWER on IntegriCloud