From: Klas Lindfors Date: Tue, 2 Jul 2013 06:28:49 +0000 (+0200) Subject: send stderr of ykinfo to /dev/null to lessen noise X-Git-Tag: v1.14.0~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07ade29814c1d6d95603e0c43848790c6b63d626;p=yubikey-personalization send stderr of ykinfo to /dev/null to lessen noise --- diff --git a/contrib/oath-unlock-reprogram.sh b/contrib/oath-unlock-reprogram.sh index eee499c..4c2a59e 100755 --- a/contrib/oath-unlock-reprogram.sh +++ b/contrib/oath-unlock-reprogram.sh @@ -59,7 +59,7 @@ when=`date +%Y-%m-%dT%H:%M:%S` while sleep 1; do # Read serial number. - serialno=`ykinfo -s -q` + serialno=`ykinfo -s -q 2> /dev/null` rc=$? if test "$rc" != "0"; then # ykinfo already printed an error message