Ron Yorston
ea7d2f6ec0
ash: fix error code regression
...
The commit 'ash,hush: set exit code 127 in "sh /does/not/exist" case'
only partly implemented the dash commit '[ERROR] Allow the originator
of EXERROR to set the exit status'. This resulted in incorrect error
codes for a syntax error:
$ )
$ echo $?
0
or a redirection error for a special builtin:
$ rm -f xxx
$ eval cat <xxx
$ echo $?
0
Signed-off-by: Ron Yorston <rmy@pobox.com>
Reported-by: Martijn Dekker <martijn@inlv.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-01-03 11:18:23 +01:00
..
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2015-10-30 22:19:06 +01:00
2015-10-30 22:19:06 +01:00
2015-10-29 20:05:32 +01:00
2015-10-29 20:05:32 +01:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2015-07-13 03:52:32 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-09-17 23:28:23 +02:00
2016-09-17 23:28:23 +02:00
2016-09-29 00:30:31 +02:00
2016-09-29 00:30:31 +02:00
2016-09-29 01:44:17 +02:00
2016-09-29 01:44:17 +02:00
2015-10-30 22:19:06 +01:00
2015-10-30 22:19:06 +01:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-09-28 19:41:57 +02:00
2016-09-28 19:41:57 +02:00
2017-01-03 11:18:23 +01:00
2017-01-03 11:18:23 +01:00
2016-10-07 04:07:05 +02:00
2016-10-03 00:55:34 +02:00
2016-10-07 04:07:05 +02:00
2016-10-03 00:55:34 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2015-10-29 19:30:55 +01:00
2015-10-29 19:30:55 +01:00
2015-11-04 14:48:16 +01:00
2015-11-04 14:48:16 +01:00
2015-11-04 14:48:16 +01:00
2015-11-04 14:48:16 +01:00
2015-11-04 14:48:16 +01:00
2015-11-04 14:48:16 +01:00
2015-11-04 14:48:16 +01:00
2015-11-04 14:48:16 +01:00
2015-11-04 14:48:16 +01:00
2015-11-04 14:48:16 +01:00
2016-10-01 19:56:52 +02:00
2016-10-01 19:56:52 +02:00
2015-11-04 14:48:16 +01:00
2015-11-04 14:50:19 +01:00
2015-11-04 19:30:24 +01:00
2015-11-04 19:30:24 +01:00
2015-11-04 14:48:16 +01:00
2015-11-04 14:48:16 +01:00
2015-11-04 14:48:16 +01:00
2015-11-04 14:48:16 +01:00
2016-11-04 18:46:14 +01:00
2016-11-04 18:46:14 +01:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2015-10-29 20:33:44 +01:00
2015-10-29 20:33:44 +01:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-09-29 01:27:09 +02:00
2016-09-29 01:27:09 +02:00
2016-10-02 18:23:14 +02:00
2016-10-02 18:23:14 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-11-08 00:59:29 +01:00
2016-11-08 00:59:29 +01:00
2016-11-08 00:59:29 +01:00
2016-11-08 00:59:29 +01:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00
2016-10-03 00:06:55 +02:00