From 1b107c81288f9debebe73004455ed9c0cb4b12eb Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 21 Oct 2015 23:16:15 +0200 Subject: [PATCH] Save stderr of x86info and discover in *.error instead of *.2 Make those two commands behave as all the other ones to get consistent behaviour. --- grml-hwinfo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grml-hwinfo b/grml-hwinfo index f0bd2a9..67cfac5 100755 --- a/grml-hwinfo +++ b/grml-hwinfo @@ -202,10 +202,10 @@ cd "${OUTDIR}" || exit 1 dmesg > dmesg.cur # hwinfo - exectest discover && discover -v --type-summary --enable-bus all > ./discover 2>./discover.2 + exectest discover && discover -v --type-summary --enable-bus all > ./discover 2>./discover.error exectest hwinfo && hwinfo log=hwinfo exectest numactl && numactl --hardware > ./numactl - exectest x86info && x86info > ./x86info 2>./x86info.2 + exectest x86info && x86info > ./x86info 2>./x86info.error exectest lscpu && lscpu > ./lscpu # net stuff, net-tools: -- 2.1.4