X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/rcheck/blobdiff_plain/f5f6d9ac7364fd3257d91687efafcdd667354683..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=