about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-11-13 16:45:36 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-11-13 16:45:36 +0000
commitaf7eba0c848d12629d41be991467d35a902a9e66 (patch)
tree2f737d3e4c643d77bd7d79874fbb998ef8803fa7 /Src/exec.c
parent2d241d0ff9f26f75d5923d896bd30c61b189b099 (diff)
downloadzsh-af7eba0c848d12629d41be991467d35a902a9e66.tar.gz
zsh-af7eba0c848d12629d41be991467d35a902a9e66.tar.xz
zsh-af7eba0c848d12629d41be991467d35a902a9e66.zip
merge back changes from 4.1
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c
index 77b657c18..7a457696a 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -3272,7 +3272,7 @@ loadautofn(Shfunc shf, int fksh, int autol)
 	return NULL;
     }
     if (!prog)
-	prog = &dummy_eprog;
+	return NULL;
     if (ksh == 2 || (ksh == 1 && isset(KSHAUTOLOAD))) {
 	if (autol) {
 	    prog->flags |= EF_RUN;