shithub: riscv

Download patch

ref: 011de5158a67e0d754b0b6b0a61f4ba335715461
parent: 3c74700c7a15b6f6f46f42c377cf4b7229dfd9d0
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Sat Aug 27 17:39:00 EDT 2011

dontkill: i/o redirections, how do they work?

--- a/rc/bin/dontkill
+++ b/rc/bin/dontkill
@@ -9,6 +9,6 @@
 psu | awk '$NF ~ /'$1'/ {
 c="/proc/"$2"/ctl"
 print "chmod +w "c
-print "echo noswap >"c
+print "@{echo noswap >"c"}"
 print "chmod -w "c
 }' | rc >/dev/null >[2=1]