From 5b3da19575e06cd21b89f66b4e01bfc5c7181bc7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 3 Jul 2018 11:23:36 -0300 Subject: Provision: more fixes --- lib/hydra/misc | 4 ++-- lib/hydra/provision | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/hydra/misc b/lib/hydra/misc index 6081107..f297bdc 100644 --- a/lib/hydra/misc +++ b/lib/hydra/misc @@ -116,8 +116,8 @@ function hydra_safe_run { # Run a command using sudo and abort on error function hydra_sudo_run { - $SUDO $* - hydra_exit_on_error $* + $SUDO "$@" + hydra_exit_on_error "$@" } # Determine the next debian release diff --git a/lib/hydra/provision b/lib/hydra/provision index a2ebefe..4713564 100644 --- a/lib/hydra/provision +++ b/lib/hydra/provision @@ -2,7 +2,7 @@ # Load provision configuration function hydra_provision_config_load { - local domain="`facter domain`" + domain="`facter domain`" if [ ! -z "$1" ]; then if [ -f "$1" ]; then -- cgit v1.2.3