diff --git a/SC1049.md b/SC1049.md index d299a9e..e4e075e 100644 --- a/SC1049.md +++ b/SC1049.md @@ -26,7 +26,9 @@ fi ShellCheck found a parsing error in the script, and determined that it's most likely due to a missing `then` keyword for the `if` or `elif` indicated. -Make sure the `then` is there. It needs `;` or linefeed before it (e.g. `if true; then`, not `if true then`). +Make sure the `then` is there. + +Note that the `then` needs a `;` or linefeed before it. `if true then` is invalid, while `if true; then` is correct. ### Exceptions: