diff options
author | Jacob Anawalt <jlanawalt@gmail.com> | 2010-10-19 13:37:10 -0600 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-10-19 22:52:03 +0200 |
commit | 0b60b58153f352e6f0c7e8f52b0824720c2a4c05 (patch) | |
tree | b175e04aeb827a1c6096d5d328e8aaf7e0038dad /handlers | |
parent | 846fa74cbc65a92ea909f59ab030c77c6211ab10 (diff) | |
download | backupninja-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.in | 2 |
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 |