diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-07-14 11:04:42 +0200 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2012-07-14 16:59:33 +0200 |
commit | ae387d32c1ae8173cffb5019bf6db12a4de0177c (patch) | |
tree | 2693906a0777d5789d12db5fd732ce5fb2b67acf /lib | |
parent | fa10457919d195957bae104cce6be8ccebd53347 (diff) | |
download | automake-ae387d32c1ae8173cffb5019bf6db12a4de0177c.tar.gz |
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>
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/ylwrap | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ylwrap b/lib/ylwrap index 49116e5fd..73dba2b1a 100755 --- a/lib/ylwrap +++ b/lib/ylwrap @@ -221,8 +221,6 @@ if test $ret -eq 0; then fi fi done -else - ret=$? fi # Remove the directory. |