diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-06-02 10:43:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-06-02 10:43:19 -0300 |
commit | a4d27b50cf994c4a65ab28521e416f5ac734b73b (patch) | |
tree | 277e4a3b724c28ae463c90b7161d6ede3fdb395f | |
parent | ae845472f6aea3955d0893067d3ddc74880fa841 (diff) | |
download | kvmx-a4d27b50cf994c4a65ab28521e416f5ac734b73b.tar.gz kvmx-a4d27b50cf994c4a65ab28521e416f5ac734b73b.tar.bz2 |
Verbosity according to action ant kvmx_xephyr_stop
-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`" |