diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-31 16:58:07 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-31 16:58:07 -0200 |
commit | ba560f275675cdb42499c5b03f2593cde508da9b (patch) | |
tree | 8f6a6ae6a57cd8e33f46aa1fe22fdeaf45eba144 | |
parent | c02e2aebb9e6ccc3a822627d1745cb5f57249a2d (diff) | |
download | kvmx-ba560f275675cdb42499c5b03f2593cde508da9b.tar.gz kvmx-ba560f275675cdb42499c5b03f2593cde508da9b.tar.bz2 |
Fix params at kvmx_supervise_call (2)
-rwxr-xr-x | kvmx-supervise | 3 |
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 |