diff --git a/core b/core index 05e90da..5fd6e1b 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 05e90da34584f98a6b7d46f7b22e8701a5b3d285 +Subproject commit 5fd6e1b11239b1d24b6c1a18cbfb6c7f876acc96 diff --git a/drawing/Graphics.lua b/drawing/Graphics.lua index 236493a..fd1dcff 100644 --- a/drawing/Graphics.lua +++ b/drawing/Graphics.lua @@ -234,7 +234,7 @@ local update = function(cr) -- no optirun processes, we call this "Mixed." In this case we don't -- check anything (to allow bbswitch to actually switch off) and set all -- values to N/A and 0. - if __string_find(Util.execute_cmd('ps -A -o comm'), 'optirun') == nil then + if not __string_find(Util.execute_cmd('ps -A -o comm'), 'optirun') then Text.set(status.value, cr, 'Mixed') nvidia_off(cr) else