summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/LinHES-session
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2013-02-04 19:48:56 (GMT)
committerJames Meyer <james.meyer@operamail.com>2013-02-04 19:48:56 (GMT)
commitc7564c42181a089ab43bff917007d31f5c4eaaa9 (patch)
treeb921697134b2d88777c284c401bb2e7b269e7397 /abs/core/LinHES-system/LinHES-session
parent84cbbab62b1953d775a1c0dc84461a7329abf204 (diff)
downloadlinhes_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-xabs/core/LinHES-system/LinHES-session14
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