Skip to content

Commit 74e0aa3

Browse files
committed
emergency fix: remove old workaround stopping interactive to work
1 parent 6dc8f1b commit 74e0aa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/jsonDB.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ function jssh_updateArray_async() {
332332
# $1 ARRAY name, must be declared with "declare -A ARRAY" before calling
333333
Json2Array() {
334334
# shellcheck disable=SC1091,SC1090
335-
[ -z "$1" ] || source <( printf "$1"'=( %s )' "$(sed -E -n -e ':x /"text"\]/ { N; s/([^"])\n/\1\\n/g ; tx }' -e '/\["[-0-9a-zA-Z_,."]+"\]\+*\t/ s/\t/=/gp' -e 's/=(true|false)/="\1"/')" )
335+
[ -z "$1" ] || source <( printf "$1"'=( %s )' "$(sed -E -n -e '/\["[-0-9a-zA-Z_,."]+"\]\+*\t/ s/\t/=/gp' -e 's/=(true|false)/="\1"/')" )
336336
}
337337
# get Config Key from jssh file without jsshDB
338338
# output ARRAY as JSON.sh style data

0 commit comments

Comments
 (0)