about summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
authorDaniel Shahaf <danielsh@apache.org>2019-12-17 04:43:48 +0000
committerDaniel Shahaf <danielsh@apache.org>2019-12-17 05:12:36 +0000
commit8bc4400762289e5cdbcfa50aab5982f8e7e28dfc (patch)
tree7fc5f89ac89b1ec686da40e409723436d3a167f7 /Src/Modules
parent2cb15a23f8a61adf11634d1ee6a9eeca57e68b30 (diff)
downloadzsh-8bc4400762289e5cdbcfa50aab5982f8e7e28dfc.tar.gz
zsh-8bc4400762289e5cdbcfa50aab5982f8e7e28dfc.tar.xz
zsh-8bc4400762289e5cdbcfa50aab5982f8e7e28dfc.zip
45058: internal: Add symbolic names to possible values of zexit()'s "from_where" parameter. No functional change.
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/zpty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c
index 2f83f7ce6..45fd15ee0 100644
--- a/Src/Modules/zpty.c
+++ b/Src/Modules/zpty.c
@@ -426,7 +426,7 @@ newptycmd(char *nam, char *pname, char **args, int echo, int nblock)
 	execode(prog, 1, 0, "zpty");
 	stopmsg = 2;
 	mypid = 0; /* trick to ensure we _exit() */
-	zexit(lastval, 0);
+	zexit(lastval, ZEXIT_NORMAL);
     }
     master = movefd(master);
     if (master == -1) {