]> gitweb.fluxo.info Git - hydra.git/commitdiff
Minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 27 Sep 2011 21:52:24 +0000 (18:52 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 27 Sep 2011 21:52:24 +0000 (18:52 -0300)
lib/hydra/misc

index 9bcc9df91cb11e84c4b46710aa19cd1a1fffdae6..5b342144d3092343b3e9e2e0606ab012ee0083b3 100644 (file)
@@ -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
 }