aboutsummaryrefslogtreecommitdiff
path: root/lib/hydra/misc
diff options
context:
space:
mode:
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