From 253568ed6557621f24337b775e54a03c7b4300e1 Mon Sep 17 00:00:00 2001 From: herbert Date: Fri, 25 Feb 2005 21:15:30 +1100 Subject: Catch set -e exits within built-in commands. --- src/error.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/error.h') 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 */ /* -- cgit 1.4.1