Skip to content

Commit 82f938c

Browse files
committed
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>
1 parent 99f4285 commit 82f938c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/ncp/SYSTEM/metrics.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ reload_metrics_config() {
3535
echo -e "WARNING: ncp-metrics-exporter failed to start (exit-code $rc)!"
3636
return $rc
3737
}
38-
}
38+
} || return 0
3939
}
4040

4141
metrics_services() {

0 commit comments

Comments
 (0)