shithub: plan9front

Download patch

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

whois: suppress missing file errors (thanks kivik)

--- a/rc/bin/whois	Fri Apr  2 09:51:15 2021
+++ b/rc/bin/whois	Fri Apr  2 11:26:34 2021
@@ -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 ||