diff options
-rw-r--r-- | plugins/mod_admin_shell.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua index 054ddf0a..cc735fe9 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -420,6 +420,12 @@ function def_env.module:info(name, hosts) if mod.module.status_message then print(" status: [" .. mod.module.status_type .. "] " .. mod.module.status_message); end + if mod.module.dependencies and next(mod.module.dependencies) ~= nil then + print(" dependencies:"); + for dep in pairs(mod.module.dependencies) do + print(" - mod_" .. dep); + end + end end return true; end |