From 07ade29814c1d6d95603e0c43848790c6b63d626 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Tue, 2 Jul 2013 08:28:49 +0200 Subject: [PATCH] send stderr of ykinfo to /dev/null to lessen noise --- contrib/oath-unlock-reprogram.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5