[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

devel: 'eval' returns 0 upon syntax error

From: Martijn Dekker
Subject: devel: 'eval' returns 0 upon syntax error
Date: Mon, 19 Jun 2017 01:06:44 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.1.1


$ (eval '(');echo $?
bash: eval: line 2: syntax error: unexpected end of file

The exit status is 0, but should be 1.

As far as I can trace it, this bug seems to have been introduced in
bash-20170511 snapshot.

- M.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]