mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Fix post-merge issue (#7971)
This commit is contained in:
parent
855cca9368
commit
edb8fce195
1 changed files with 1 additions and 1 deletions
|
|
@ -640,7 +640,7 @@ func (d *desktopRunner) execute() error {
|
|||
defer close(d.executeDoneCh)
|
||||
|
||||
log.Info().Msg("killing any pre-existing fleet-desktop instances")
|
||||
if err := killProcessByName(constant.DesktopAppExecName); err != nil && !errors.Is(err, errProcessNotFound) {
|
||||
if err := platform.KillProcessByName(constant.DesktopAppExecName); err != nil && !errors.Is(err, platform.ErrProcessNotFound) {
|
||||
log.Error().Err(err).Msg("killProcess")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue