Use "warning" for less relevant errors in the final exit status

This commit is contained in:
Andrea Mazzoleni 2026-01-20 23:52:13 +01:00
parent 4aa644c8d9
commit 94e71365b8
6 changed files with 14 additions and 10 deletions

View file

@ -1012,9 +1012,9 @@ one of the following:
.I ok
No issues. The array is fully synchronized and healthy.
.HP 4
.I alert
Incomplete. Some files were skipped due to modifications
during execution or permission issues. No hardware risk.
.I warning
Some files were skipped due to modifications during
execution or permission issues. No hardware risk.
.HP 4
.I error
Critical failure. Indicates serious issues like I/O failures

View file

@ -666,10 +666,10 @@ Command Sync/Scrub Tags
=summary:exit:<status>
Logs the overall exit status of the command. The `status` is
one of the following:
ok - No issues. The array is fully synchronized and healthy.
alert - Incomplete. Some files were skipped due to modifications
during execution or permission issues. No hardware risk.
warning - Some files were skipped due to modifications during
execution or permission issues. No hardware risk.
error - Critical failure. Indicates serious issues like I/O failures
or silent data corruption. Requires immediate hardware
or filesystem inspection.

View file

@ -696,8 +696,8 @@ These tags provide summary statistics at the end of the command.
one of the following:
ok - No issues. The array is fully synchronized and healthy.
alert - Incomplete. Some files were skipped due to modifications
during execution or permission issues. No hardware risk.
warning - Some files were skipped due to modifications during
execution or permission issues. No hardware risk.
error - Critical failure. Indicates serious issues like I/O failures
or silent data corruption. Requires immediate hardware
or filesystem inspection.