Try to document an exception as requested in https://github.com/koalaman/shellcheck/issues/2434

sig-daveka
2022-01-25 10:49:14 -05:00
parent 73e1d38d06
commit c9a27cd82c

@@ -21,4 +21,4 @@ Quoting so that the `[..]` is passed literally to `unset` solves the issue.
### Exceptions: ### Exceptions:
None. If you know that pathname expansion is disabled you can ignore this message. `set -o noglob` (and variations like invoking the script with `#!/bin/bash -f`) will prevent glob expansion of arguments to `unset`.