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
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/ncp/SYSTEM/metrics.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ncp/SYSTEM/metrics.sh b/bin/ncp/SYSTEM/metrics.sh
index 6e2eb0c1..24963a85 100644
--- a/bin/ncp/SYSTEM/metrics.sh
+++ b/bin/ncp/SYSTEM/metrics.sh
@@ -1,8 +1,8 @@
#!/bin/bash
is_active() {
- systemctl is-active -q prometheus-node-exporter || return 0
- return 1
+ systemctl is-active -q prometheus-node-exporter || return 1
+ return 0
}
tmpl_metrics_enabled() {