mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
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>
This commit is contained in:
parent
99f4285e8e
commit
82f938c52b
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user