summaryrefslogtreecommitdiffstats
path: root/module/os
diff options
context:
space:
mode:
authorRob N <[email protected]>2023-07-22 04:53:06 +1000
committerBrian Behlendorf <[email protected]>2023-07-21 16:35:12 -0700
commitc5273e0c317a941af9c8a4090ad38b1c7b55d716 (patch)
treee59d7ef84e99ed633b69b9a3e896a20baae1496f /module/os
parent685ae4429ffe7753359faa6cbae34e061d1e670b (diff)
shellcheck: disable "unreachable command" check [SC2317]
This new check in 0.9.0 appears to have some issues with various forms of "early return", like trap, exit and return. This is tripping up (at least): cmd/zed/zed.d/history_event-zfs-list-cacher.sh /etc/zfs/zfs-functions Its not obvious what its complaining about or what the remedy is, so it seems sensible to disable this check for now. See also: https://www.shellcheck.net/wiki/SC2317 https://github.com/koalaman/shellcheck/issues/2542 https://github.com/koalaman/shellcheck/issues/2613 Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #15089
Diffstat (limited to 'module/os')
0 files changed, 0 insertions, 0 deletions