about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Src/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/exec.c b/Src/exec.c
index 3cf38d68c..da8173a0b 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -3211,6 +3211,7 @@ loadautofn(Shfunc shf)
 
     if (prog == &dummy_eprog) {
 	zerr("%s: function definition file not found", shf->nam, 0);
+	shf->funcdef = prog;
 	return 1;
     }
     if (!prog)