diff --git a/doc/manual_rest.rst b/doc/manual_rest.rst index 32e5f716a..813cdfb8c 100644 --- a/doc/manual_rest.rst +++ b/doc/manual_rest.rst @@ -80,10 +80,9 @@ command: EXIT STATUS =========== - Exit status is 0 if the command was successful, and non-zero if there was any error. - - Note that some issues such as unreadable or deleted files during backup - currently doesn't result in a non-zero error exit status. + Exit status is 0 if the command was successful. + Exit status is 1 if there was a fatal error (no snapshot created). + Exit status is 3 if some source data could not be read (incomplete snapshot created). Usage: restic backup [flags] FILE/DIR [FILE/DIR] ...