From 1d7330dce47a3b6d69297a1d2b0a73cb10538ad9 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 17 Apr 2008 13:05:03 -0600 Subject: [PATCH] Fix bug in example screenlock script --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index ed6e3a9..9644bd5 100644 --- a/README +++ b/README @@ -37,7 +37,7 @@ do anything if the cursor is in the upper-left corner: xcursorpos | (read x y; [ $x -lt 20 -a $y -lt 20 ]) && exit 0 xsswin magic XSS_WINDOW & pid=$! - xkeygrab | (while [ "$l" != "secret" ]; do read l; done) + xkeygrab | (while read l; do [ "$l" != "secret" ] && break; done) kill $pid