summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-07-01 15:24:20 +0200
committerGitHub <noreply@github.com>2026-07-01 15:24:20 +0200
commit26f7173923c0b4cb6c7e13c3adcf4dcc18c01d3b (patch)
tree22c7e781d2a485c45d64fc7a5bb54806088cac53
parentf0381f88db11a2ac2666a58806e96e675e41cacb (diff)
downloadmonitoring-plugins-26f7173923c0b4cb6c7e13c3adcf4dcc18c01d3b.tar.gz
check_ups: fix some unintented fallthroughs (#2294)HEADmaster
-rw-r--r--plugins/check_ups.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c
index 7bced308..525ecf24 100644
--- a/plugins/check_ups.c
+++ b/plugins/check_ups.c
@@ -630,14 +630,19 @@ check_ups_config_wrapper process_arguments(int argc, char **argv) {
630 switch (test_selection) { 630 switch (test_selection) {
631 case UPS_UTILITY: 631 case UPS_UTILITY:
632 result.config.utility_thresholds = tmp_thr; 632 result.config.utility_thresholds = tmp_thr;
633 break;
633 case UPS_BATTPCT: 634 case UPS_BATTPCT:
634 result.config.battery_thresholds = tmp_thr; 635 result.config.battery_thresholds = tmp_thr;
636 break;
635 case UPS_LOADPCT: 637 case UPS_LOADPCT:
636 result.config.load_thresholds = tmp_thr; 638 result.config.load_thresholds = tmp_thr;
639 break;
637 case UPS_REALPOWER: 640 case UPS_REALPOWER:
638 result.config.real_power_thresholds = tmp_thr; 641 result.config.real_power_thresholds = tmp_thr;
642 break;
639 case UPS_TEMP: 643 case UPS_TEMP:
640 result.config.temperature_thresholds = tmp_thr; 644 result.config.temperature_thresholds = tmp_thr;
645 break;
641 case UPS_NONE: 646 case UPS_NONE:
642 case UPS_STATUS: 647 case UPS_STATUS:
643 default: { 648 default: {