You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
ocis backup consistency should have a ´--fail` option where exits with a non zero exit code if it finds inconsistencies.
Describe the solution you'd like
If the --fail flag is provided and inconsistencies are found, the exit could is != 0, eg 1.
Describe alternatives you've considered
Parse the log output for strings indicating that inconsistencies have been found but that is somehow error prone since those strings could change over time.
Should be fairly easy implementable. The curl manpage mentions it returns status code 22. Should we also return a special status code? Or we just go with generic 1?
Is your feature request related to a problem? Please describe.
ocis backup consistency
should have a ´--fail` option where exits with a non zero exit code if it finds inconsistencies.Describe the solution you'd like
If the
--fail
flag is provided and inconsistencies are found, the exit could is != 0, eg 1.Describe alternatives you've considered
Parse the log output for strings indicating that inconsistencies have been found but that is somehow error prone since those strings could change over time.
Additional context
Maybe this is similiar to the
--fail
option of curl (see https://curl.se/docs/manpage.html#-f)cc @kobergj
The text was updated successfully, but these errors were encountered: