Closed jldowns closed 6 years ago
Hi! I noticed you used the integer comparison syntax instead of string comparison. That resulted in the if statement always evaluating to true.
if
Also, afaik the double brackets in the if statements is bash-only syntax, so the shebang at the top ensures that the wrong shell isn't evoked.
Hi! I noticed you used the integer comparison syntax instead of string comparison. That resulted in the
if
statement always evaluating to true.Also, afaik the double brackets in the if statements is bash-only syntax, so the shebang at the top ensures that the wrong shell isn't evoked.