From 87248b9efc3824087a8901d83d7544d8ef901981 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 27 Sep 2011 18:52:24 -0300 Subject: Minor fix --- lib/hydra/misc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3