aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-03-09 21:50:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-03-09 21:50:00 -0300
commitb5c94b16d5228dc4dc744135ec52b81502d7f688 (patch)
tree7cba2dd9a48b484fb1b03ae4004c5b5f24b479dc
parent5f4035a70a196a5b32eb1c9dce9c938860e14e16 (diff)
downloadkvmx-b5c94b16d5228dc4dc744135ec52b81502d7f688.tar.gz
kvmx-b5c94b16d5228dc4dc744135ec52b81502d7f688.tar.bz2
Fixes kvmx poweroff
-rwxr-xr-xkvmx2
1 files changed, 1 insertions, 1 deletions
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