aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}