mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Use "warning" for less relevant errors in the final exit status
This commit is contained in:
parent
4aa644c8d9
commit
94e71365b8
6 changed files with 14 additions and 10 deletions
|
|
@ -704,7 +704,7 @@ end:
|
|||
if (error + silent_error + io_error == 0)
|
||||
log_tag("summary:exit:ok\n");
|
||||
else if (silent_error + io_error == 0)
|
||||
log_tag("summary:exit:alert\n");
|
||||
log_tag("summary:exit:warning\n");
|
||||
else
|
||||
log_tag("summary:exit:error\n");
|
||||
log_flush();
|
||||
|
|
|
|||
|
|
@ -1425,7 +1425,7 @@ end:
|
|||
if (error + silent_error + io_error == 0)
|
||||
log_tag("summary:exit:ok\n");
|
||||
else if (silent_error + io_error == 0)
|
||||
log_tag("summary:exit:alert\n");
|
||||
log_tag("summary:exit:warning\n");
|
||||
else
|
||||
log_tag("summary:exit:error\n");
|
||||
log_flush();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue