code: plan9front

Download patch

ref: e45c7480b612582c40c579c657630aa43b444a72
parent: c8c5499d7fc4f7b59a12c0ae90eb4e516783f1f8
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Dec 22 20:42:52 EST 2020

Kill: don't pollute environment

--- a/rc/bin/Kill
+++ b/rc/bin/Kill
@@ -1,4 +1,5 @@
 #!/bin/rc
+rfork e
 for(i){
 	ps | sed -n '/ '^$i^'$/s%^[^ ]* *([^ ]*).*%chmod 666 /proc/\1/ctl;@{echo kill>/proc/\1/ctl}%p'
 }