clean up if then
This commit is contained in:
parent
c4f400c697
commit
09dbbeea85
2
core
2
core
|
@ -1 +1 @@
|
|||
Subproject commit 05e90da34584f98a6b7d46f7b22e8701a5b3d285
|
||||
Subproject commit 5fd6e1b11239b1d24b6c1a18cbfb6c7f876acc96
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue