Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-09-28 14:26:42 +0300
committerthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-09-28 17:18:53 +0300
commit82f938c52b63fee889bc7327eb9a9f011f3d74e1 (patch)
tree931c65489abc6aa36278be25f599e513ebb422f9
parent99f4285e8ebc63128c5ef313459eb4194037ec29 (diff)
metrics.sh: Fix incorrect return code in relaod_metrics_config if ncp-metrics-export was disabled
Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
-rw-r--r--bin/ncp/SYSTEM/metrics.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ncp/SYSTEM/metrics.sh b/bin/ncp/SYSTEM/metrics.sh
index 82e58220..54c8561f 100644
--- a/bin/ncp/SYSTEM/metrics.sh
+++ b/bin/ncp/SYSTEM/metrics.sh
@@ -35,7 +35,7 @@ reload_metrics_config() {
echo -e "WARNING: ncp-metrics-exporter failed to start (exit-code $rc)!"
return $rc
}
- }
+ } || return 0
}
metrics_services() {