summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 18:52:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 18:52:24 -0300
commit87248b9efc3824087a8901d83d7544d8ef901981 (patch)
tree10ebdd911d923f2995aaa010650fef4fc8107ce6
parenta720c9e7d32b41c1885407da0a85cde7d9f187a9 (diff)
downloadhydra-87248b9efc3824087a8901d83d7544d8ef901981.tar.gz
hydra-87248b9efc3824087a8901d83d7544d8ef901981.tar.bz2
Minor fix
-rw-r--r--lib/hydra/misc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hydra/misc b/lib/hydra/misc
index 9bcc9df..5b34214 100644
--- a/lib/hydra/misc
+++ b/lib/hydra/misc
@@ -42,6 +42,6 @@ function hydra_install_package {
# Truncate a database
function hydra_truncate_database {
if [ ! -z "$1" ]; then
- mysql puppet -e "drop database $1; create database $1;"
+ mysql $1 -e "drop database $1; create database $1;"
fi
}