From bf565c76f67d63c0129f41cc48a639c2f4f662ca Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 12 Jun 2021 16:40:22 +0200 Subject: mod_admin_shell: module:info: Show module status --- plugins/mod_admin_shell.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/mod_admin_shell.lua') diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua index 95c7009b..054ddf0a 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -417,6 +417,9 @@ function def_env.module:info(name, hosts) print("on " .. component_type .. " Component " .. mod.module.host); end print(" path: " .. (mod.module.path or "n/a")); + if mod.module.status_message then + print(" status: [" .. mod.module.status_type .. "] " .. mod.module.status_message); + end end return true; end -- cgit v1.2.3