aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-12-31 16:58:07 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-12-31 16:58:07 -0200
commitba560f275675cdb42499c5b03f2593cde508da9b (patch)
tree8f6a6ae6a57cd8e33f46aa1fe22fdeaf45eba144
parentc02e2aebb9e6ccc3a822627d1745cb5f57249a2d (diff)
downloadkvmx-ba560f275675cdb42499c5b03f2593cde508da9b.tar.gz
kvmx-ba560f275675cdb42499c5b03f2593cde508da9b.tar.bz2
Fix params at kvmx_supervise_call (2)
-rwxr-xr-xkvmx-supervise3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmx-supervise b/kvmx-supervise
index 4cce269..72c2cdc 100755
--- a/kvmx-supervise
+++ b/kvmx-supervise
@@ -67,8 +67,9 @@ function kvmx_supervise_usage {
function kvmx_supervise_call {
local user="$1"
local vm="$2"
- local params=($*)
+
shift 2
+ local params=($*)
# Check parameters
if [ -z "$vm" ]; then