diff options
author | James Meyer <james.meyer@operamail.com> | 2013-02-04 19:48:56 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-02-04 19:48:56 (GMT) |
commit | c7564c42181a089ab43bff917007d31f5c4eaaa9 (patch) | |
tree | b921697134b2d88777c284c401bb2e7b269e7397 /abs/core/LinHES-system/LinHES-session | |
parent | 84cbbab62b1953d775a1c0dc84461a7329abf204 (diff) | |
download | linhes_pkgbuild-c7564c42181a089ab43bff917007d31f5c4eaaa9.zip linhes_pkgbuild-c7564c42181a089ab43bff917007d31f5c4eaaa9.tar.gz linhes_pkgbuild-c7564c42181a089ab43bff917007d31f5c4eaaa9.tar.bz2 |
LinHES-system: correct the logic for breaking out of the wmctrl loop. As written it would break out of the inner loop..but not the 60 iteration loop.
Diffstat (limited to 'abs/core/LinHES-system/LinHES-session')
-rwxr-xr-x | abs/core/LinHES-system/LinHES-session | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session index 01768bd..61405db 100755 --- a/abs/core/LinHES-system/LinHES-session +++ b/abs/core/LinHES-system/LinHES-session @@ -374,17 +374,17 @@ function run_wmctrl(){ for name in "MythTV Frontend" "MythTV Setup" "mythwelcome" do xwininfo -name "$name" >/dev/null - rc=$? - if [ $rc = 0 ] + rcx=$? + if [ $rcx = 0 ] then wmctrl -r "$name" -b remove,fullscreen done="True" fi - if [ $done = "True" ] - then - break - fi - done + done + if [ $done = "True" ] + then + break + fi sleep 5 done |