1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

test/[: Improve error status > 1 (re: 7003aba4, cd2cf236, ef1f53b5)

As I got to know the code better, it now seems painfully obvious
that getting test/[ to issue an exit status >= 2 on error only
requires a simple check in sh_exit() in fault.c, which is called
whenever the shell issues an error message.
This commit is contained in:
Martijn Dekker 2021-11-22 06:13:25 +01:00
parent 8ced1daadf
commit 74730c8ac7
5 changed files with 5 additions and 25 deletions

View file

@ -462,6 +462,4 @@ extern const char e_dict[];
# define sh_stats(x)
#endif /* SHOPT_STATS */
extern int _ERROR_exit_b_test(int);
#endif