From 1da0cd4787205538e267e34943a6a9eceb466abd Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 20 Mar 2013 16:59:02 +0000 Subject: [PATCH 1/1] rsync-backup.in: Fix stupid bug in index deletion. --- rsync-backup.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rsync-backup.in b/rsync-backup.in index ac9cfdc..ec876ed 100644 --- a/rsync-backup.in +++ b/rsync-backup.in @@ -170,7 +170,7 @@ delete_index () { if [ -f "$INDEXDB" ]; then sqlite3 "$INDEXDB" <&2; exit 1 ;; esac exec 8>&1 . "$conf" +case "$bkprc" in + 0) $verbose "All backups successful" ;; + *) $verbose "Backups FAILED" ;; +esac ###----- That's all, folks -------------------------------------------------- -- 2.11.0