about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-06 10:26:22 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-06 10:26:22 +0000
commitfb5a1bc4dce28016a61eb11033bfb9a23ea74b5e (patch)
tree4900ad87add656bcf2e84410e22fdc3ef5f070c1 /Src/exec.c
parent5f61b262a515286c7789cd26abf4d9140fb2d06d (diff)
downloadzsh-fb5a1bc4dce28016a61eb11033bfb9a23ea74b5e.tar.gz
zsh-fb5a1bc4dce28016a61eb11033bfb9a23ea74b5e.tar.xz
zsh-fb5a1bc4dce28016a61eb11033bfb9a23ea74b5e.zip
zsh-workers/8910
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 cda229c3a..e8cb3fa8e 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -3073,7 +3073,7 @@ runshfunc(List list, FuncWrap wrap, char *name)
 
 	if (!wrap->module->wrapper &&
 	    (wrap->module->flags & MOD_UNLOAD))
-	    unload_module(wrap->module, NULL, 0);
+	    unload_module(wrap->module, NULL);
 
 	if (!cont)
 	    return;