summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2020-06-27 17:33:30 -0700
committerBrian Behlendorf <[email protected]>2020-06-27 17:38:55 -0700
commit67b1362f0492dc398b842d17d8aab59aa2272802 (patch)
tree70177815fdc2dadb236f2e8279b107cf846cd65f /cmd
parent3bc92b9ef6557efae00d37320db2548ec9bc0a56 (diff)
Style fixes
* Fix cstyle issue in shrinker.h which exceeded 80 columns. * Silence shellcheck warning in zpool.d/smart script. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'cmd')
-rwxr-xr-xcmd/zpool/zpool.d/smart1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/zpool/zpool.d/smart b/cmd/zpool/zpool.d/smart
index 874528d66..f8854b752 100755
--- a/cmd/zpool/zpool.d/smart
+++ b/cmd/zpool/zpool.d/smart
@@ -71,6 +71,7 @@ fi
smartctl_path=$(command -v smartctl)
+# shellcheck disable=SC2015
if [ -b "$VDEV_UPATH" ] && [ -x "$smartctl_path" ] || [ -n "$samples" ] ; then
if [ -n "$samples" ] ; then
# cat a smartctl output text file instead of running smartctl