Skip to content

Commit 48eef5b

Browse files
committed
Fixed usage of undeclared local variable.
1 parent 5102d57 commit 48eef5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libinit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5616,7 +5616,7 @@ function write_file() {
56165616
fi
56175617
if _is_absolute_path "$arg_file_path"; then
56185618
_make_func_hl "write_file";
5619-
logE "Programming error: Illegal argument '${arg_target}'";
5619+
logE "Programming error: Illegal argument '${arg_file_path}'";
56205620
logE "at: '${BASH_SOURCE[1]}' (line ${BASH_LINENO[0]})";
56215621
failure "Programming error: Invalid call to ${HYPERLINK_VALUE} function: " \
56225622
"The file argument must not be absolute";

0 commit comments

Comments
 (0)