]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Fixes kvmx poweroff
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 10 Mar 2017 00:50:00 +0000 (21:50 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 10 Mar 2017 00:50:00 +0000 (21:50 -0300)
kvmx

diff --git a/kvmx b/kvmx
index 6a5e2d2b0a4f7246afec9bed9e981177718f9dd5..ccf39ade2ef2bf2f4721b6c7128e0d96bc78eaf7 100755 (executable)
--- 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