diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2022-05-04 19:48:27 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2022-05-04 19:48:27 -0300 |
commit | 097d9cab62c7b10da81f0a683287d611f977c85e (patch) | |
tree | 67f8e82ab5215a2b00270b851a1c648c9827976d /kvmx | |
parent | d93c024d86c04135758d346b8a59757e22a03107 (diff) | |
download | kvmx-097d9cab62c7b10da81f0a683287d611f977c85e.tar.gz kvmx-097d9cab62c7b10da81f0a683287d611f977c85e.tar.bz2 |
Adds kvmx_vdagent config param
Diffstat (limited to 'kvmx')
-rwxr-xr-x | kvmx | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -299,9 +299,11 @@ function kvmx_spice { kvmx_xrandr fi - # Restart vdagent + # Ensure vdagent is running if [ "$ssh_support" == "y" ]; then - echo "which kvmx-vdagent > /dev/null && DISPLAY=:0 kvmx-vdagent" | kvmx_ssh + if [ "$kvmx_vdagent" != "0" ]; then + echo "which kvmx-vdagent > /dev/null && DISPLAY=:0 kvmx-vdagent" | kvmx_ssh + fi fi fi } |