summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff-backup.1
diff options
context:
space:
mode:
Diffstat (limited to 'rdiff-backup/rdiff-backup.1')
-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)