diff options
Diffstat (limited to 'hardinfo2')
-rw-r--r-- | hardinfo2/util.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/hardinfo2/util.c b/hardinfo2/util.c index 516ddb0c..32c93b49 100644 --- a/hardinfo2/util.c +++ b/hardinfo2/util.c @@ -894,10 +894,12 @@ GSList *modules_load_all(void) int i=0; while(i<4) { - if (module = module_load(filenames[i])) { - modules = g_slist_prepend(modules, module); - } - i++; + if(i==2 && !params.gui_running && params.skip_benchmarks) {//skip benchmark reporting if no gui, report and skip benchmark + }else + if (module = module_load(filenames[i])) { + modules = g_slist_prepend(modules, module); + } + i++; } //modules = modules_check_deps(modules); |