ylwrap: don't uselessly reset the exit status in case of failure
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 14 Jul 2012 09:04:42 +0000 (11:04 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Sat, 14 Jul 2012 14:59:33 +0000 (16:59 +0200)
commitae387d32c1ae8173cffb5019bf6db12a4de0177c
tree2693906a0777d5789d12db5fd732ce5fb2b67acf
parentfa10457919d195957bae104cce6be8ccebd53347
ylwrap: don't uselessly reset the exit status in case of failure

* lib/ylwrap: Here.  In case of a failure in the wrapped yacc/lex
invocation, '$ret' (holding the final exit status of ylwrap) was
being uselessly reset to '1' in the later if/else.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/ylwrap