Showing the changes to Source/Libraries/GSF.ServiceProcess/ServiceHelper.cs (1 of 147 files). Show all
Unified · Split
| @@ -1541,7 +1541,7 @@ namespace GSF.ServiceProcess · 1540 unmodified lines | |||
| 1541 | { | 1541 | { |
| 1542 | processName = processName.Trim(); | 1542 | processName = processName.Trim(); |
| 1543 | 1543 | ||
| 1544 | if (FindProcess(processName) == null) | 1544 | if ((object)FindProcess(processName) == null) |
| 1545 | return false; | 1545 | return false; |
| 1546 | 1546 | ||
| 1547 | // The specified process exists, so we'll schedule it, or update its schedule if it is scheduled already. | 1547 | // The specified process exists, so we'll schedule it, or update its schedule if it is scheduled already. |