Skip to content
Snippets Groups Projects
Commit 1330b16c authored by intrigeri's avatar intrigeri
Browse files

pgsql: clarify error message when backupdir does not exist

parent 4dc5c344
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment