mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
fix: Error checking (#446)
This commit is contained in:
parent
a8bcae16a4
commit
ba7fd2fe4a
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -u
|
||||
set -Eeuo pipefail
|
||||
|
||||
[ ! -f "/run/qemu.pid" ] && echo "QEMU not running yet.." && exit 0
|
||||
[ -f "/run/qemu.count" ] && echo "QEMU is shutting down.." && exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user