src/script.c: fix cat typing bug
commit591193eb7750be070ea1286190df31f03179fc11
authorFrank Benkstein <frank-vlock@benkstein.net>
Fri, 12 Oct 2007 03:31:40 +0000 (12 05:31 +0200)
committerFrank Benkstein <frank-vlock@benkstein.net>
Fri, 12 Oct 2007 03:31:40 +0000 (12 05:31 +0200)
tree2c567a6fb10660f621ed0c9a5f9160ca66593c26
parent5e5260cb410cb0253801c71022d7d5d7e8ed258f
src/script.c: fix cat typing bug

If a script plugin blocks and a domestic animal sits on the escape
key long enough vlock will lock up when the write buffer of the pipe
runs full. Setting O_NONBLOCK fixes the issue.
src/script.c