aboutsummaryrefslogtreecommitdiffstats
path: root/monitor-probe
diff options
context:
space:
mode:
Diffstat (limited to 'monitor-probe')
-rwxr-xr-xmonitor-probe2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor-probe b/monitor-probe
index e41578c..e9cc27f 100755
--- a/monitor-probe
+++ b/monitor-probe
@@ -27,7 +27,7 @@ fi
monitor-edid --try-in-console $opt_v && exit 0
[ -n "$opt_v" ] && echo "probing DMI" 1>&2
-lspcidrake | sed -n 's/^\(Resolution\|Diagonal_size\):\([^:]*\):.*/\1: \2/p'
+lspcidrake | sed -n 's/^\(Resolution\|Diagonal_size\):\([^:]*\):.*/\1: \2/p' | grep . && exit 0
[ -n "$opt_v" ] && echo "probing using X" 1>&2
monitor-probe-using-X $X_driver && exit 0