aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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