From a4d27b50cf994c4a65ab28521e416f5ac734b73b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 2 Jun 2017 10:43:19 -0300 Subject: Verbosity according to action ant kvmx_xephyr_stop --- kvmx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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`" -- cgit v1.2.3