Skip to content

Wrap potentially empty variables with quotes to avoid == error.#2

Open
stclairc wants to merge 1 commit intok3ng:mainfrom
stclairc:ag4yn-Mods-Extensions
Open

Wrap potentially empty variables with quotes to avoid == error.#2
stclairc wants to merge 1 commit intok3ng:mainfrom
stclairc:ag4yn-Mods-Extensions

Conversation

@stclairc
Copy link

Several if statements were throwing errors due to == checks not having 2 things to compare if a variable was empty. Wrapping with double quotes eliminates this in BASH.

Several if statements were throwing errors due to == checks not having 2 things to compare if a variable was empty.  Wrapping with double quotes eliminates this in BASH.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments