@ -2,9 +2,9 @@
(
if [ "$1" == "status" ]; then
pcs $@
pcs "$@"
exit $?
fi
flock -e 200
) 200>/tmp/pcs.lock
if [ "$1" != "list" ]; then
virsh $@
virsh "$@"
) 200>/tmp/virsh.lock