diff options
-rwxr-xr-x | kvmx | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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`" |