diff --git a/SC1053.md b/SC1053.md index 72b7df5..18571d1 100644 --- a/SC1053.md +++ b/SC1053.md @@ -9,7 +9,9 @@ if mycommand; then echo "True"; else; echo "False"; fi ### Correct code: ```sh -if mycommand; then echo "True"; else echo "False"; fi``` +if mycommand; then echo "True"; else echo "False"; fi +``` + ### Rationale: `else` keywords should not be followed by semicolons. It's not valid shell syntax.