From 2e421bcedb7c032b4dbc21fa92ceab8e2a06114f Mon Sep 17 00:00:00 2001 From: intrigeri Date: Tue, 24 Jun 2008 15:01:35 +0000 Subject: [PATCH] pgsql: clarify error message when backupdir does not exist git-svn-id: http://code.autistici.org/svn/backupninja/trunk@571 758a04ac-41e6-0310-8a23-8373a73cc35d --- handlers/pgsql.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2