aboutsummaryrefslogtreecommitdiff
path: root/lib/hydra/misc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-07-03 11:23:36 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-07-03 11:23:36 -0300
commit5b3da19575e06cd21b89f66b4e01bfc5c7181bc7 (patch)
tree5b565564ad749ca370b08d4894093f1b0fc5314e /lib/hydra/misc
parentb7311dc95f4fb020580be7be7d5c0e8a278e326b (diff)
downloadhydra-5b3da19575e06cd21b89f66b4e01bfc5c7181bc7.tar.gz
hydra-5b3da19575e06cd21b89f66b4e01bfc5c7181bc7.tar.bz2
Provision: more fixes
Diffstat (limited to 'lib/hydra/misc')
-rw-r--r--lib/hydra/misc4
1 files changed, 2 insertions, 2 deletions
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