diff options
author | Rob N <[email protected]> | 2023-07-22 04:53:06 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-07-21 11:53:06 -0700 |
commit | 13ec73a02830365ca1d188f6cc515b9f398fb7f3 (patch) | |
tree | 7eff3eed43f33b4a510f687120749f846285c854 /module/zfs/vdev.c | |
parent | 46adb2820ac361700d54b8378314f8343c064642 (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/zfs/vdev.c')
0 files changed, 0 insertions, 0 deletions