X-Git-Url: https://git.distorted.org.uk/~mdw/rcheck/blobdiff_plain/92cde7de66a3dfe4ff45967f95bb240ab13c753c..042f27fe47aa2a67e7c99087d8600ce2450c0aa2:/check.d/disks diff --git a/check.d/disks b/check.d/disks index 63a541a..ef36835 100755 --- a/check.d/disks +++ b/check.d/disks @@ -3,6 +3,7 @@ ### Check the health of attached physical disks. set -e +if [ ! -x /usr/sbin/smartctl ]; then exit 0; fi ## Build a list of actual disk devices according to their buses. disks=