Loading src/power.sh +17 −12 Original line number Diff line number Diff line Loading @@ -31,6 +31,9 @@ finish() { if [ -s "$QEMU_PID" ]; then pid=$(<"$QEMU_PID") if isAlive "$pid"; then echo && error "Forcefully terminating QEMU, reason: $reason..." { kill -15 "$pid" || true; } 2>/dev/null Loading @@ -51,6 +54,8 @@ finish() { fi fi for pid in "${pids[@]}"; do if [[ -s "$pid" ]]; then pKill "$(<"$pid")" Loading Loading
src/power.sh +17 −12 Original line number Diff line number Diff line Loading @@ -31,6 +31,9 @@ finish() { if [ -s "$QEMU_PID" ]; then pid=$(<"$QEMU_PID") if isAlive "$pid"; then echo && error "Forcefully terminating QEMU, reason: $reason..." { kill -15 "$pid" || true; } 2>/dev/null Loading @@ -51,6 +54,8 @@ finish() { fi fi for pid in "${pids[@]}"; do if [[ -s "$pid" ]]; then pKill "$(<"$pid")" Loading