summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-21 18:28:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-21 18:28:27 -0300
commitdecdfd3b67bb35ce4ef8032c3276868e8177c1c3 (patch)
tree47651ae0d9d34d4be0cc0944178e89067062ea53
parent04756e6a588f8b9788273bf38dc4e681fcbd35fe (diff)
downloadhydra-decdfd3b67bb35ce4ef8032c3276868e8177c1c3.tar.gz
hydra-decdfd3b67bb35ce4ef8032c3276868e8177c1c3.tar.bz2
Minor fix at hydra_database_name
-rw-r--r--lib/hydra/backup2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hydra/backup b/lib/hydra/backup
index 5d61db3..c056c01 100644
--- a/lib/hydra/backup
+++ b/lib/hydra/backup
@@ -172,5 +172,5 @@ function hydra_backup_restore_database {
# Return a normalized database name
function hydra_database_name {
# MySQL 16 chars limit
- echo $1 | sed -r 's/(^>.{16}).*/\1/'"
+ echo $1 | sed -r 's/(^>.{16}).*/\1/'
}