mirror of
https://github.com/AuxXxilium/arv-v-dsm.git
synced 2024-12-03 21:27:01 +07:00
fix: Error checking (#446)
This commit is contained in:
parent
a8bcae16a4
commit
ba7fd2fe4a
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -u
|
set -Eeuo pipefail
|
||||||
|
|
||||||
[ ! -f "/run/qemu.pid" ] && echo "QEMU not running yet.." && exit 0
|
[ ! -f "/run/qemu.pid" ] && echo "QEMU not running yet.." && exit 0
|
||||||
[ -f "/run/qemu.count" ] && echo "QEMU is shutting down.." && exit 1
|
[ -f "/run/qemu.count" ] && echo "QEMU is shutting down.." && exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user