mirror of
https://github.com/AuxXxilium/arv-v-dsm.git
synced 2024-11-24 07:20:57 +07:00
fix: Quit message
This commit is contained in:
parent
ef5b650991
commit
dce447c974
@ -67,9 +67,10 @@ _graceful_shutdown() {
|
|||||||
|
|
||||||
if [ "$(cat $QEMU_COUNT)" -ge "$QEMU_TIMEOUT" ]; then
|
if [ "$(cat $QEMU_COUNT)" -ge "$QEMU_TIMEOUT" ]; then
|
||||||
echo && error "Shutdown timeout reached, forcefully quitting.."
|
echo && error "Shutdown timeout reached, forcefully quitting.."
|
||||||
|
else
|
||||||
|
echo && echo "❯ Quitting..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo && echo "❯ Quitting..."
|
|
||||||
echo 'quit' | nc -q 1 -w 1 localhost "$QEMU_PORT" >/dev/null 2>&1 || true
|
echo 'quit' | nc -q 1 -w 1 localhost "$QEMU_PORT" >/dev/null 2>&1 || true
|
||||||
|
|
||||||
{ pkill -f print.sh || true; } 2>/dev/null
|
{ pkill -f print.sh || true; } 2>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user