From: Silvio Rhatto Date: Fri, 2 Jun 2017 13:43:19 +0000 (-0300) Subject: Verbosity according to action ant kvmx_xephyr_stop X-Git-Tag: 0.1.0~429 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a4d27b50cf994c4a65ab28521e416f5ac734b73b;p=kvmx.git Verbosity according to action ant kvmx_xephyr_stop --- diff --git a/kvmx b/kvmx index 86d4897..9542249 100755 --- a/kvmx +++ b/kvmx @@ -1004,8 +1004,12 @@ function kvmx_xephyr { # Close Xephyr client function kvmx_xephyr_stop { if [ ! -e "$XEPHYRFILE" ]; then - echo "$BASENAME: Xephyr not running for guest $VM" - exit 1 + if [ "$ACTION" == "xephyr_stop" ]; then + echo "$BASENAME: Xephyr not running for guest $VM" + exit 1 + else + return + fi fi XEPHYRPID="`cat $XEPHYRFILE`"