Kill: don't pollute environment
This commit is contained in:
parent
c8c5499d7f
commit
e45c7480b6
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue