Skip to content

Commit d468d32

Browse files
committed
Fixed(server-info-collectd): we don't really need /proc/scsi/scsi data.
1 parent 3402b25 commit d468d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/server-info-collect

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ server_info() {
1313
cat /proc/interrupts > $TMPDIR/interrupts
1414
cat /proc/meminfo > $TMPDIR/meminfo
1515
cat /proc/cpuinfo > $TMPDIR/cpuinfo
16-
cat /proc/scsi/scsi > $TMPDIR/scsi
16+
cat /proc/scsi/scsi > $TMPDIR/scsi 2>/dev/null || true
1717
LANG= lsblk -d --output=NAME,MODEL > $TMPDIR/lsblk_models
1818
LANG= lsblk -nlb --output SIZE,MOUNTPOINT,NAME > $TMPDIR/lsblk_sizes
1919
if ! LANG= lspci 2>/dev/null > $TMPDIR/lspci; then

0 commit comments

Comments
 (0)