Skip to content

Commit

Permalink
Check PID file
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese committed May 11, 2023
1 parent 2eff6f0 commit 9ca4b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run/check.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -u

[ ! -f "/run/qemu.pid"] && echo "QEMU not running yet.." && exit 0
[ ! -f "/run/qemu.pid" ] && echo "QEMU not running yet.." && exit 0

# Retrieve IP from guest for Docker healthcheck
RESPONSE=$(curl -s -m 6 -S http://127.0.0.1:2210/read?command=10 2>&1)
Expand Down

0 comments on commit 9ca4b3e

Please sign in to comment.