From d0066ca4f2be2beae245ef43e15e42da071b8d63 Mon Sep 17 00:00:00 2001 From: koalaman Date: Sat, 8 Jul 2017 17:55:38 -0700 Subject: [PATCH] Updated SC1053 (markdown) --- SC1053.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.