diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-31 16:52:34 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-31 16:52:34 -0200 |
commit | 8e54d5e1cca3985b612c6428e007f75718291542 (patch) | |
tree | a2d57a1aea36d6b0e11f50fe827ef4657193a4f9 /kvmx-supervise | |
parent | 7c09b537bfee67d293785f0e5a2b564f890a1600 (diff) | |
download | kvmx-8e54d5e1cca3985b612c6428e007f75718291542.tar.gz kvmx-8e54d5e1cca3985b612c6428e007f75718291542.tar.bz2 |
Fix supervise_manage evaluation at kvmx-supervise
Diffstat (limited to 'kvmx-supervise')
-rwxr-xr-x | kvmx-supervise | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx-supervise b/kvmx-supervise index 41f4990..433ac56 100755 --- a/kvmx-supervise +++ b/kvmx-supervise @@ -83,7 +83,7 @@ function kvmx_supervise_call { # Operate only with VMs configured with supervise_manage=1 # Specify /bin/bash to avoid restricted shells like kvmx-shell - supervise="`su $user -s /bin/bash -c "kvmx config supervise_manage"`" + supervise_manage="`su $user -s /bin/bash -c "kvmx config $vm supervise_manage"`" # Dispatch if [ "$supervise_manage" == "1" ]; then |