summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-09-09 18:02:01 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-09-09 18:02:01 +0000
commit940ad410b941c5d0e5a5c62f901900978af8963a (patch)
tree209b60c8ac7b7f4c6f500122065a3ec9e9f40341
parentbbc31802633f6df26391a3ab3991cef9e1eefefb (diff)
downloadrdiff-backup-940ad410b941c5d0e5a5c62f901900978af8963a.tar.gz
Added section on exit status
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r0-12@421 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/rdiff-backup.19
1 files changed, 9 insertions, 0 deletions
diff --git a/rdiff-backup/rdiff-backup.1 b/rdiff-backup/rdiff-backup.1
index 07b892b..8fa7816 100644
--- a/rdiff-backup/rdiff-backup.1
+++ b/rdiff-backup/rdiff-backup.1
@@ -885,6 +885,15 @@ option.
The log file is not compressed and can become quite large if
rdiff-backup is run with high verbosity.
+.SH EXIT STATUS
+
+If rdiff-backup finishes successfully, the exit status will be 0. If
+there is an error, it will be non-zero (usually 1, but don't depend on
+this specific value). When setting up rdiff-backup to run
+automatically (as from
+.BR cron (8)
+or similar) it is probably a good idea to check the exit code.
+
.SH BUGS
rdiff-backup uses the shell command
.BR mknod (1)