@@ -250,7 +250,7 @@ function main(){
250250 if [ " $DO_SYNC " -eq 1 ] && ! grep -qw " $SYNC_MARKER " " $TMP_OUTPUT " ; then
251251 # Sync ran but did not complete successfully so lets not run scrub to
252252 # be safe
253- echo " **WARNING** - check output of SYNC job. Could not detect marker."
253+ echo " **WARNING! ** - Check output of SYNC job. Could not detect marker."
254254 echo " Not running SCRUB job. [$( date) ]"
255255 mklog " WARN: Check output of SYNC job. Could not detect marker. Not running SCRUB job."
256256 else
@@ -451,18 +451,18 @@ function chk_del(){
451451 echo " but the add/delete ratio of ($ADD_DEL_RATIO ) is above the threshold of ($ADD_DEL_THRESHOLD ), sync will proceed."
452452 DO_SYNC=1
453453 else
454- echo " **WARNING** Deleted files ($DEL_COUNT ) reached/exceeded threshold ($DEL_THRESHOLD ) and add/delete threshold ($ADD_DEL_THRESHOLD ) was not met."
454+ echo " **WARNING! ** Deleted files ($DEL_COUNT ) reached/exceeded threshold ($DEL_THRESHOLD ) and add/delete threshold ($ADD_DEL_THRESHOLD ) was not met."
455455 mklog " WARN: Deleted files ($DEL_COUNT ) reached/exceeded threshold ($DEL_THRESHOLD ) and add/delete threshold ($ADD_DEL_THRESHOLD ) was not met."
456456 CHK_FAIL=1
457457 fi
458458 else
459459 if [ " $RETENTION_DAYS " -gt 0 ]; then
460- echo " **WARNING** Deleted files ($DEL_COUNT ) reached/exceeded threshold ($DEL_THRESHOLD )."
460+ echo " **WARNING! ** Deleted files ($DEL_COUNT ) reached/exceeded threshold ($DEL_THRESHOLD )."
461461 echo " For more information, please check the DIFF ouput saved in $SNAPRAID_LOG_DIR ."
462462 mklog " WARN: Deleted files ($DEL_COUNT ) reached/exceeded threshold ($DEL_THRESHOLD )."
463463 CHK_FAIL=1
464464 else
465- echo " **WARNING** Deleted files ($DEL_COUNT ) reached/exceeded threshold ($DEL_THRESHOLD )."
465+ echo " **WARNING! ** Deleted files ($DEL_COUNT ) reached/exceeded threshold ($DEL_THRESHOLD )."
466466 mklog " WARN: Deleted files ($DEL_COUNT ) reached/exceeded threshold ($DEL_THRESHOLD )."
467467 CHK_FAIL=1
468468 fi
@@ -480,12 +480,12 @@ function chk_updated(){
480480 fi
481481 else
482482 if [ " $RETENTION_DAYS " -gt 0 ]; then
483- echo " **WARNING** Updated files ($UPDATE_COUNT ) reached/exceeded threshold ($UP_THRESHOLD )."
483+ echo " **WARNING! ** Updated files ($UPDATE_COUNT ) reached/exceeded threshold ($UP_THRESHOLD )."
484484 echo " For more information, please check the DIFF ouput saved in $SNAPRAID_LOG_DIR ."
485485 mklog " WARN: Updated files ($UPDATE_COUNT ) reached/exceeded threshold ($UP_THRESHOLD )."
486486 CHK_FAIL=1
487487 else
488- echo " **WARNING** Updated files ($UPDATE_COUNT ) reached/exceeded threshold ($UP_THRESHOLD )."
488+ echo " **WARNING! ** Updated files ($UPDATE_COUNT ) reached/exceeded threshold ($UP_THRESHOLD )."
489489 mklog " WARN: Updated files ($UPDATE_COUNT ) reached/exceeded threshold ($UP_THRESHOLD )."
490490 CHK_FAIL=1
491491 fi
@@ -615,7 +615,7 @@ function run_scrub(){
615615 output_to_file_screen
616616 echo " \`\`\` "
617617 fi
618- echo " SCRUB Old Blocks [$( date) ]"
618+ echo " SCRUB Previous Blocks [$( date) ]"
619619 echo " \`\`\` "
620620 $SNAPRAID_BIN scrub -p " $SCRUB_PERCENT " -o " $SCRUB_AGE " -q
621621 close_output_and_wait
0 commit comments