Skip to content

Commit

Permalink
metrics.sh: Fix incorrect return code in relaod_metrics_config if ncp…
Browse files Browse the repository at this point in the history
…-metrics-export was disabled

Signed-off-by: thecalcaholic <[email protected]>
  • Loading branch information
theCalcaholic committed Sep 28, 2022
1 parent 99f4285 commit 82f938c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ncp/SYSTEM/metrics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 82f938c

Please sign in to comment.