From: intrigeri Date: Tue, 24 Jun 2008 15:01:35 +0000 (+0000) Subject: pgsql: clarify error message when backupdir does not exist X-Git-Tag: backupninja-0.9.6~28 X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=commitdiff_plain;h=1330b16c992fbede7ca09ecc87eb6c01af1bc19f pgsql: clarify error message when backupdir does not exist --- 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)