diff options
author | herbert <herbert@gondor.apana.org.au> | 2005-02-25 21:15:30 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2005-09-26 18:33:03 +1000 |
commit | 253568ed6557621f24337b775e54a03c7b4300e1 (patch) | |
tree | 12c81e98684bfbe993c970b2b5e5615a39618b61 /src/error.h | |
parent | Changed boolean rootshell into shlvl counter. (diff) | |
download | dash-253568ed6557621f24337b775e54a03c7b4300e1.tar.gz dash-253568ed6557621f24337b775e54a03c7b4300e1.zip |
Catch set -e exits within built-in commands.
Diffstat (limited to 'src/error.h')
-rw-r--r-- | src/error.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.h b/src/error.h index c8e1a2e..2db9fe6 100644 --- a/src/error.h +++ b/src/error.h @@ -75,6 +75,7 @@ extern int exerrno; /* error for EXEXEC */ #define EXEXEC 3 /* command execution failed */ #define EXEXIT 4 /* exit the shell */ #define EXSIG 5 /* trapped signal in wait(1) */ +#define EXEVAL 6 /* exit the shell due to set -e */ /* |