shithub: riscv

Download patch

ref: c77b3ba143da491f020a1c2871a57d10d5b8bf8f
parent: afa5800b5b5782d71dd9347629b30bde0ac18635
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Apr 2 13:26:34 EDT 2021

whois: suppress missing file errors (thanks kivik)

--- a/rc/bin/whois
+++ b/rc/bin/whois
@@ -1,6 +1,6 @@
 #!/bin/rc
 
-for(i in $*)
+>[2] /dev/null for(i in $*)
 	grep '^'$i'	' /adm/whois ||
 	grep -i $i /adm/keys.who ||
 	grep -i $i /adm/netkeys.who ||