aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorJacob Anawalt <jlanawalt@gmail.com>2010-10-19 13:37:10 -0600
committerintrigeri <intrigeri@boum.org>2010-10-19 22:52:03 +0200
commit0b60b58153f352e6f0c7e8f52b0824720c2a4c05 (patch)
treeb175e04aeb827a1c6096d5d328e8aaf7e0038dad /handlers
parent846fa74cbc65a92ea909f59ab030c77c6211ab10 (diff)
downloadbackupninja-0b60b58153f352e6f0c7e8f52b0824720c2a4c05.tar.gz
backupninja-0b60b58153f352e6f0c7e8f52b0824720c2a4c05.tar.bz2
Removed extra '.' in plain/sql dumps
Removed an extra '.' in file names introduced by the pg_dump options patch, resulting in names like db..sql or db..sql.gz instead of just db.sql or db.sql.gz.
Diffstat (limited to 'handlers')
-rw-r--r--handlers/pgsql.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/pgsql.in b/handlers/pgsql.in
index 0564f5a..f68ec2f 100644
--- a/handlers/pgsql.in
+++ b/handlers/pgsql.in
@@ -170,7 +170,7 @@ else
fi
fi
for db in $databases; do
- dumpext=".sql"
+ dumpext="sql"
if [ "$format" != "plain" ]; then
dumpext="pg_dump"
fi