Skip to content

Commit

Permalink
Changed SAVE_IP env var to be case-insensitive. (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGreaterThan authored Nov 7, 2023
1 parent e9a38ad commit 9c2cbc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ else
fi

# load IP if saved
if [[ "${SAVE_IP}" == "True" ]]; then
if [[ "${SAVE_IP^^}" == "TRUE" ]]; then
if [[ -f "$savedIPFile" ]]; then
old_ip=$( cat ${savedIPFile} | tr -d " \t\n\r" )
else
Expand Down

0 comments on commit 9c2cbc9

Please sign in to comment.