Add a --count flag that prints how many checks ran #31
@@ -179,6 +179,10 @@ main() {
|
||||
emit "$format" 'healthchecks: %sms\n' "$elapsed"
|
||||
fi
|
||||
|
||||
if [ -n "$count" ]; then
|
||||
emit "$format" 'checks: %s\n' "$TOTAL"
|
||||
fi
|
||||
|
||||
emit "$format" '%s\n' "$SUCCESS_MESSAGE"
|
||||
exit 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user