eventscript: check_executable() to centralize stat/perm checks
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 7 Dec 2009 12:39:39 +0000 (23:09 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 7 Dec 2009 12:39:39 +0000 (23:09 +1030)
commit8ddb97040842375daf378cbb5816d0c2b031fa65
tree72c762385175cc8e32dcee836389de537954dc65
parent76a0ca77feba14e1e1162c195ffbdf516e62aa4d
eventscript: check_executable() to centralize stat/perm checks

This is used later in the "script vanished" check.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
server/eventscript.c