From 940ad410b941c5d0e5a5c62f901900978af8963a Mon Sep 17 00:00:00 2001 From: bescoto Date: Tue, 9 Sep 2003 18:02:01 +0000 Subject: 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 --- rdiff-backup/rdiff-backup.1 | 9 +++++++++ 1 file changed, 9 insertions(+) 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) -- cgit v1.2.1