From bbe8b73f032cc390e1c44b0f24ba4ef2f09ac75d Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Mon, 24 Aug 2020 23:16:25 +0200 Subject: [PATCH] Update help text of backup command in docs --- doc/manual_rest.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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] ...