Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/basedir-includes/oieserver
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ expand_line_variables() {
# Get the variable name and its value.
local var_name="${BASH_REMATCH[2]}"
# Use indirect expansion to get the variable's value. Do not replace if not set.
if [[ -v "$var_name" ]]; then
if [[ -n "${!var_name+x}" ]]; then
local var_value="${!var_name}"
result_line+="$var_value"
else
Expand Down