diff options
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 |