diff options
Diffstat (limited to 'collect.d/system')
-rw-r--r-- | collect.d/system | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collect.d/system b/collect.d/system index 1d8d97d..0401203 100644 --- a/collect.d/system +++ b/collect.d/system @@ -22,7 +22,7 @@ if type lsusb >/dev/null 2>&1; then lsusb > lsusb fi -if type lsscsi >/dev/null 2>&1; then +if [ -d /proc/bus/scsi ] && type lsscsi >/dev/null 2>&1; then lsscsi > lsscsi fi |