From: Silvio Rhatto Date: Fri, 10 Mar 2017 00:50:00 +0000 (-0300) Subject: Fixes kvmx poweroff X-Git-Tag: 0.1.0~595 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b5c94b16d5228dc4dc744135ec52b81502d7f688;p=kvmx.git Fixes kvmx poweroff --- diff --git a/kvmx b/kvmx index 6a5e2d2..ccf39ad 100755 --- a/kvmx +++ b/kvmx @@ -138,7 +138,7 @@ function kvmx_resume { # Poweroff the guest function kvmx_poweroff { - kvmx_ssh /usr/bin/sudo poweroff + echo /usr/bin/sudo poweroff | kvmx_ssh &> /dev/null } # Rsync files to the guest