Mac: Fix computation of non_BOINC CPU usage

This commit is contained in:
Charlie Fenton 2019-11-08 01:10:30 -08:00
parent e7a545e783
commit 8db8500d6a
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2018 University of California
// Copyright (C) 2019 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
@ -140,7 +140,7 @@ int procinfo_setup(PROC_MAP& pm) {
// incorrect results for the % CPU used.
p.is_low_priority = false;
if (!strcasestr(p.command, brandName[iBrandID])) {
if (strcasestr(p.command, brandName[iBrandID])) {
p.is_boinc_app = true;
}