summary refs log tree commit diff
path: root/src/error.h
diff options
context:
space:
mode:
authorherbert <herbert@gondor.apana.org.au>2005-02-25 21:15:30 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2005-09-26 18:33:03 +1000
commit253568ed6557621f24337b775e54a03c7b4300e1 (patch)
tree12c81e98684bfbe993c970b2b5e5615a39618b61 /src/error.h
parentChanged boolean rootshell into shlvl counter. (diff)
downloaddash-253568ed6557621f24337b775e54a03c7b4300e1.tar.gz
dash-253568ed6557621f24337b775e54a03c7b4300e1.zip
Catch set -e exits within built-in commands.
Diffstat (limited to '')
-rw-r--r--src/error.h1
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 */
 
 
 /*