aboutsummaryrefslogtreecommitdiff
path: root/hardinfo
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo')
-rw-r--r--hardinfo/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hardinfo/util.c b/hardinfo/util.c
index e70120a4..36f6ea0b 100644
--- a/hardinfo/util.c
+++ b/hardinfo/util.c
@@ -730,6 +730,8 @@ static ShellModule *module_load(gchar * filename)
entries = get_module_entries();
while (entries[i].name) {
+ if (*entries[i].name == '#') { i++; continue; } /* skip */
+
ShellModuleEntry *entry = g_new0(ShellModuleEntry, 1);
if (params.gui_running) {