Skip to content
Vidar Holen edited this page Oct 20, 2022 · 2 revisions

Stopping at 100 'source' frames :O

Problematic code:

An initial file sourcing a second file, which in turn sources a third file, which in turn sources a fourth file, ...., which in turn sources a 100th file.

Correct code:

Anything but that.

Rationale:

ShellCheck found a chain of 100+ files sourcing each other. It assumed there must be some internal bug, so it stopped.

Exceptions:

If this is intentional, you can cosmetically ignore this message.

Related resources:

  • Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!

ShellCheck

Each individual ShellCheck warning has its own wiki page like SC1000. Use GitHub Wiki's "Pages" feature above to find a specific one, or see Checks.

Clone this wiki locally