fix: Serial port (#522)

* fix: Serial port
This commit is contained in:
Kroese
2023-12-29 18:15:39 +01:00
committed by GitHub
parent b854aad830
commit 20f48edd00
2 changed files with 2 additions and 4 deletions

View File

@@ -73,7 +73,7 @@ terminal() {
if [ ! -c "$dev" ]; then
dev=$(echo 'info chardev' | nc -q 1 -w 1 localhost "$QEMU_PORT" | tr -d '\000')
dev="${dev#*charserial0}"
dev="${dev#*serial0}"
dev="${dev#*pty:}"
dev="${dev%%$'\n'*}"
dev="${dev%%$'\r'*}"