Skip to content

Commit

Permalink
Fix access to unbound var in tw_config
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Nov 12, 2024
1 parent cb5fe0e commit d499778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/include/tw_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function twcfg.check_syntax_line() {

function twcfg.include_exec() {
local config="$1"
local check_syntax="$2"
local check_syntax="${2:-}"
twcfg.check_cfg
if [ ! -f "$config" ]
then
Expand Down

0 comments on commit d499778

Please sign in to comment.