Fix obo error
the build was successful Details

This commit is contained in:
Sarah Jamie Lewis 2020-10-21 16:35:22 -07:00
parent 27ff36e1a2
commit d35ff1395f
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ func CheckProcessAndKill(pid uint64, processName string) {
// Image Name PID Session Name Session# Mem Usage
// ========================= ======== ================ =========== ============
// process.exe <PID> Services 0 8,936 K
lines := strings.Split(string(bytes),"\n")
lines := strings.Split(strings.TrimSpace(string(bytes)),"\n")
log.Debugf("%v\n", lines)
// check for "<process>.exe"