aboutsummaryrefslogtreecommitdiff
path: root/kvmx-supervise
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-12-31 16:52:34 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-12-31 16:52:34 -0200
commit8e54d5e1cca3985b612c6428e007f75718291542 (patch)
treea2d57a1aea36d6b0e11f50fe827ef4657193a4f9 /kvmx-supervise
parent7c09b537bfee67d293785f0e5a2b564f890a1600 (diff)
downloadkvmx-8e54d5e1cca3985b612c6428e007f75718291542.tar.gz
kvmx-8e54d5e1cca3985b612c6428e007f75718291542.tar.bz2
Fix supervise_manage evaluation at kvmx-supervise
Diffstat (limited to 'kvmx-supervise')
-rwxr-xr-xkvmx-supervise2
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