summaryrefslogtreecommitdiff
path: root/src/MESA_field_stat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MESA_field_stat.cpp')
-rw-r--r--src/MESA_field_stat.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/MESA_field_stat.cpp b/src/MESA_field_stat.cpp
index 0f562aa..383ad50 100644
--- a/src/MESA_field_stat.cpp
+++ b/src/MESA_field_stat.cpp
@@ -538,10 +538,7 @@ void FS_start(screen_stat_handle_t handle)
pthread_create(&(_handle->cfg_mon_t), NULL, fs2_thread_screen_print, (void*)handle);
}
- if(_handle->output_prometheus==1)
- {
- FS_library_promethues_register(handle);
- }
+ FS_library_promethues_register(handle);
return;
}