]> err.no Git - yubikey-personalization/commitdiff
send stderr of ykinfo to /dev/null to lessen noise
authorKlas Lindfors <klas@yubico.com>
Tue, 2 Jul 2013 06:28:49 +0000 (08:28 +0200)
committerKlas Lindfors <klas@yubico.com>
Tue, 2 Jul 2013 14:44:53 +0000 (16:44 +0200)
contrib/oath-unlock-reprogram.sh

index eee499c113b45471a5c4f941d0c3e980f95e4d3c..4c2a59ec27478363e248d8d091396149f1edde59 100755 (executable)
@@ -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