From: Michael Prokop Date: Wed, 15 Aug 2012 23:43:25 +0000 (+0200) Subject: Redirect dpkg error message for running_kernel X-Git-Tag: v0.7.0~9 X-Git-Url: http://git.grml.org/?p=grml-hwinfo.git;a=commitdiff_plain;h=508ee7c87d8ec6d72401bf0535494e0b52572197 Redirect dpkg error message for running_kernel --- diff --git a/grml-hwinfo b/grml-hwinfo index 9b261c1..579271d 100755 --- a/grml-hwinfo +++ b/grml-hwinfo @@ -198,8 +198,8 @@ cd "${OUTDIR}" || exit 1 [ -r /boot/config-$UNAME ] && cat /boot/config-$UNAME > kernelconfig fi - exectest dpkg && COLUMNS=1000 dpkg -l linux-image-$UNAME \ - | grep linux-image-$UNAME | tr -s ' ' > running_kernel 2>running_kernel.error + exectest dpkg && COLUMNS=1000 dpkg -l linux-image-$UNAME 2>running_kernel.error \ + | grep linux-image-$UNAME | tr -s ' ' > running_kernel 2>>running_kernel.error dpkg -S /boot/vmlinuz-$(uname -r) >> running_kernel 2>>running_kernel.error # X stuff