X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fpgsql.in;h=1b4a45215aad73a559cc2b2c02cc11c103c91bf7;hb=2e421bcedb7c032b4dbc21fa92ceab8e2a06114f;hp=23e2c2b42f0553864846b1fba38c91d5d4469e1f;hpb=c4d02c0664b2a2fd245e7fa57e190ac68ce8253d;p=matthijs%2Fupstream%2Fbackupninja-vserver.git 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)