summaryrefslogtreecommitdiff
path: root/scripts/kvmd-udev-restart-pass
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kvmd-udev-restart-pass')
-rwxr-xr-xscripts/kvmd-udev-restart-pass2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kvmd-udev-restart-pass b/scripts/kvmd-udev-restart-pass
index 21f3b9b9..93f7d85c 100755
--- a/scripts/kvmd-udev-restart-pass
+++ b/scripts/kvmd-udev-restart-pass
@@ -35,7 +35,7 @@ test -n "$conn_id"
card_n="${card/card/}"
test -n "$card_n"
-port=$(grep "^connector\[$conn_id\]:" "/sys/kernel/debug/dri/$card_n/state" | awk '{print $1}')
+port=$(grep "^connector\[$conn_id\]:" "/sys/kernel/debug/dri/$card_n/state" | awk '{print $2}')
test -n "$port"