about summary refs log tree commit diff
path: root/Src/module.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-07-31 14:35:52 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-07-31 14:35:52 +0000
commiteedfdb916a2ee53e0f561f0c16f9961f775a037c (patch)
treeb9a59d4dce6729cacc5c6e6c09223598d08075ba /Src/module.c
parent6c60a8ec79600990007f7a73ddbebfb5d9c95ada (diff)
downloadzsh-eedfdb916a2ee53e0f561f0c16f9961f775a037c.tar.gz
zsh-eedfdb916a2ee53e0f561f0c16f9961f775a037c.tar.xz
zsh-eedfdb916a2ee53e0f561f0c16f9961f775a037c.zip
23733: zmodload -LaF didn't include unloaded modules
Diffstat (limited to 'Src/module.c')
-rw-r--r--Src/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/module.c b/Src/module.c
index c3785e609..a89010d74 100644
--- a/Src/module.c
+++ b/Src/module.c
@@ -215,7 +215,7 @@ printmodulenode(HashNode hn, int flags)
 	    fputs(" -> ", stdout);
 	    nicezputs(m->u.alias, stdout);
 	}
-    } else if (m->u.handle) {
+    } else if (m->u.handle || (flags & PRINTMOD_AUTO)) {
 	/*
 	 * Loaded module.
 	 */