failtest: fix failpath on open.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Nov 2011 22:46:11 +0000 (09:16 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Nov 2011 22:46:11 +0000 (09:16 +1030)
commiteaff14657e211975f22d86210b98524401bcd45b
treec963a395d557efb9a40754daa75eecbf8cfbc0ab
parent2006aa032d6f72599165e50242d06df35428d43a
failtest: fix failpath on open.

And separate out the code which follows --failpath so failtest_close()
can use it too.
ccan/failtest/failtest.c