summary refs log tree commit diff
path: root/src/main.c
diff options
context:
space:
mode:
authorherbert <herbert@gondor.apana.org.au>2005-02-28 21:06:29 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2005-09-26 18:33:03 +1000
commit3d47e34527bdc68c49eae6ee3b33506f8badbce5 (patch)
treeb595334e5c4c70aab576be4c00bfe1c70b32705d /src/main.c
parentCorrected that/than typo in manual page. (diff)
downloaddash-3d47e34527bdc68c49eae6ee3b33506f8badbce5.tar.gz
dash-3d47e34527bdc68c49eae6ee3b33506f8badbce5.zip
Replaced EXEVAL with SKIPEVAL.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 6253010..3575ec4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -133,8 +133,7 @@ main(int argc, char **argv)
 			exitstatus = 2;
 
 		s = state;
-		if (e == EXEXIT || e == EXEVAL ||
-		    s == 0 || iflag == 0 || shlvl)
+		if (e == EXEXIT || s == 0 || iflag == 0 || shlvl)
 			exitshell();
 
 		if (e == EXINT