Switch round a bogus if statement I've just noticed. Both the write to
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 18 Dec 2012 09:19:04 +0000 (09:19 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 18 Dec 2012 09:19:04 +0000 (09:19 +0000)
commit4c5b873c160b2d3ed9fbc3afa2214fca6dac4c2f
tree65ad8f96ca133d42dd79e627774a3e561d6355f1
parent32f8db2c94c447f20eaa7cc056e2109d5c25ef68
Switch round a bogus if statement I've just noticed. Both the write to
pty_utmp_helper_pipe _and_ the close of it if we're not going to write
should be conditionalised on the pipe existing, rather than just the
former!

git-svn-id: svn://svn.tartarus.org/sgt/putty@9729 cda61777-01e9-0310-a592-d414129be87e
unix/uxpty.c