SC1045 – ShellCheck Wiki

See this page on GitHub

Sitemap


It's not foo &; bar, just foo & bar.

Problematic code:

foo &; bar

Correct code:

foo & bar

Rationale:

Both & and ; terminate the command. You should only use one of them.

Exceptions

None.


ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.