diff options
Diffstat (limited to 'Src/exec.c')
-rw-r--r-- | Src/exec.c | 2 |
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; |