aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-06-24 15:01:35 +0000
committerintrigeri <intrigeri@boum.org>2008-06-24 15:01:35 +0000
commit1330b16c992fbede7ca09ecc87eb6c01af1bc19f (patch)
treeb4bf4dea836aa5117f0acd2f75ae323d583742f6
parent4dc5c3443f94271e54e58b3b9463636047d289f5 (diff)
downloadbackupninja-1330b16c992fbede7ca09ecc87eb6c01af1bc19f.tar.gz
backupninja-1330b16c992fbede7ca09ecc87eb6c01af1bc19f.tar.bz2
pgsql: clarify error message when backupdir does not exist
-rw-r--r--handlers/pgsql.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/pgsql.in b/handlers/pgsql.in
index 23e2c2b..1b4a452 100644
--- a/handlers/pgsql.in
+++ b/handlers/pgsql.in
@@ -57,7 +57,7 @@ fi
# create backup dir, the vroot variable will be empty if no vsname was specified
# and will proceed to operate on the host
[ -d $vroot$backupdir ] || (debug "mkdir -p $vroot$backupdir"; mkdir -p $vroot$backupdir)
-[ -d $vroot$backupdir ] || fatal "Backup directory '$vroot$backupdir'"
+[ -d $vroot$backupdir ] || fatal "Backup directory '$vroot$backupdir' does not exist, and could not be created."
# give backup dir the good uid and permissions
# (in respect to the vserver, if $usevserver = yes)