aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx8
1 files 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`"