79145945

Date: 2024-10-31 18:39:07
Score: 0.5
Natty:
Report link

I had else instead of fi at the end of if statement.

if [ -z $SOMEVAR ]; then
    echo "hello, some var is set"
else  # <--- here I should have had `fi`


# if ... do some other stuff
# other stuff
# exit
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kacper