[BackupPC] fix syntax error
Bernard Johnson
bjohnson at fedoraproject.org
Tue Jul 12 15:59:04 UTC 2011
commit 7f050ba03a5367a693491c5391a11a4aaf9cb51f
Author: Bernard Johnson <bjohnson at symetrix.com>
Date: Tue Jul 12 09:58:38 2011 -0600
fix syntax error
BackupPC-3.2.1-locatedb.patch | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/BackupPC-3.2.1-locatedb.patch b/BackupPC-3.2.1-locatedb.patch
index c631383..70978e5 100644
--- a/BackupPC-3.2.1-locatedb.patch
+++ b/BackupPC-3.2.1-locatedb.patch
@@ -15,7 +15,7 @@ diff -Naur BackupPC-3.2.1-pristine/init.d/src/linux-backuppc BackupPC-3.2.1/init
+)
+ if [ -r $updatedb ]; then
+ grep ^PRUNEPATHS $updatedb | grep ${topdir%%/} > /dev/null
-+ if [ $? -eq 1]; then
++ if [ $? -eq 1 ]; then
+ logger -t BackupPC -s "WARNING: Your BackupPC \$Conf{TopDir} is not listed in the locate"
+ logger -t BackupPC -s "database configuration's PRUNEPATHS. This may cause all of your"
+ logger -t BackupPC -s "backed up files to be indexed!"
More information about the scm-commits
mailing list