Skip to content

Commit

Permalink
Fix config values starting with "-e" "-n" and so on
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Jul 24, 2024
1 parent 192dcd4 commit 4d56ecb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/include/tw_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ function get_tw_config() {
found_key="$(grep "^$config_key " lib/tmp/compiled.cfg | tail -n1 | cut -d' ' -f2- | xargs)"
if [ "$found_key" == "" ]
then
echo "$default_value"
printf '%s' "$default_value"
else
echo "$found_key"
printf '%s' "$found_key"
fi
}

0 comments on commit 4d56ecb

Please sign in to comment.