mej / nhc

LBNL Node Health Check
Other
226 stars 79 forks source link

Display check numbers in verbose mode #124

Closed mej closed 1 year ago

mej commented 1 year ago

In nhcmain_run_checks(), $CNUM is the index of the current check in the $CHECKS array. When printing "Running check..." in verbose mode, also print "$((CNUM+1)) of ${#CHECKS[*]}"