We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3402b25 commit d468d32Copy full SHA for d468d32
utils/server-info-collect
@@ -13,7 +13,7 @@ server_info() {
13
cat /proc/interrupts > $TMPDIR/interrupts
14
cat /proc/meminfo > $TMPDIR/meminfo
15
cat /proc/cpuinfo > $TMPDIR/cpuinfo
16
- cat /proc/scsi/scsi > $TMPDIR/scsi
+ cat /proc/scsi/scsi > $TMPDIR/scsi 2>/dev/null || true
17
LANG= lsblk -d --output=NAME,MODEL > $TMPDIR/lsblk_models
18
LANG= lsblk -nlb --output SIZE,MOUNTPOINT,NAME > $TMPDIR/lsblk_sizes
19
if ! LANG= lspci 2>/dev/null > $TMPDIR/lspci; then
0 commit comments