vwsgui at [34605c20d1]
Not logged in

File vwsgui artifact e19838553c part of check-in 34605c20d1


#!/bin/sh
if [ -z "$1" ]; then
	echo "Usage: $0 vm-name"
	exit 1
fi

uri=`vms spiceuri $1`
if [ $? -gt 0 ]; then
	exit 1
fi
spicy $uri </dev/null
vws spiceuri $1 >/dev/null && /usr/lib/vms/ask_shutdown $1