We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ff9715 commit c50858bCopy full SHA for c50858b
server/basedir-includes/oieserver
@@ -99,7 +99,7 @@ expand_line_variables() {
99
# Get the variable name and its value.
100
local var_name="${BASH_REMATCH[2]}"
101
# Use indirect expansion to get the variable's value. Do not replace if not set.
102
- if [[ -v "$var_name" ]]; then
+ if [[ -n "${!var_name+x}" ]]; then
103
local var_value="${!var_name}"
104
result_line+="$var_value"
105
else
0 commit comments