Save stderr of x86info and discover in *.error instead of *.2
authorMichael Prokop <mika@grml.org>
Wed, 21 Oct 2015 21:16:15 +0000 (23:16 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 21 Oct 2015 21:16:37 +0000 (23:16 +0200)
Make those two commands behave as all the other ones
to get consistent behaviour.

grml-hwinfo

index f0bd2a9..67cfac5 100755 (executable)
@@ -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: