diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-05-12 14:19:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-05-12 14:19:56 -0300 |
commit | 740421ffbbbc425c1b6362c26e80a63dc412bd34 (patch) | |
tree | 2f0f13e6a53f289a98437c0103669ae7169f8547 | |
parent | cb5a07bbb7f234449311175186a85faec0d1f4bc (diff) | |
download | kvmx-740421ffbbbc425c1b6362c26e80a63dc412bd34.tar.gz kvmx-740421ffbbbc425c1b6362c26e80a63dc412bd34.tar.bz2 |
Check if Xephyr is running at kvmx_stop
-rwxr-xr-x | kvmx | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -991,6 +991,11 @@ function kvmx_xephyr { # Close Xephyr client function kvmx_xephyr_stop { + if [ ! -e "$XEPHYRFILE" ]; then + echo "$BASENAME: Xephyr not running for guest $VM" + exit 1 + fi + XEPHYRPID="`cat $XEPHYRFILE`" if [ ! -z "$XEPHYRPID" ]; then |