Check if /dev/consctl is writeable so patch/create works inside acme's win. Notes: Sun May 22 00:48:37 EDT 2005 rsc I did what you meant to do. Note that fn true { status='' } fn false { status=xxx } if(true; false) echo false if(false; true) echo true if(true && false) echo both if(false && true) echo both again are four different tests. if you use a semicolon you just end up testing the last thing. you wanted an &&. Reference: /n/sources/patch/applied/patch-create-without-consctl Date: Sat May 21 17:35:04 CES 2005 Reviewed-by: rsc --- /rc/bin/patch/create Sat May 21 17:34:34 2005 +++ /rc/bin/patch/create Sat May 21 17:34:31 2005 @@ -54,7 +54,7 @@ chmod a+r $d/* } -if(~ `{cat /proc/$pid/fd | awk 'NR==2{print $NF}'} */dev/cons){ +if(~ `{cat /proc/$pid/fd | awk 'NR==2{print $NF}'} */dev/cons; test -w /dev/consctl){ >/dev/consctl { echo holdon cat >$d/readme