Skip to content

Commit

Permalink
still fixing lib os stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
vyrus001 committed Mar 10, 2018
1 parent d75d47a commit 8491f3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/lib_os.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (e *Engine) RunningProcs() ([]int, error) {
for _, proc := range procs {
pids = append(pids, proc.Pid())
}
return pids
return pids, nil
}

func (e *Engine) GetProcName(pid int) (string, error) {
Expand Down Expand Up @@ -184,5 +184,5 @@ func (e *Engine) DelRegKeyValue(registryString string, path string, valueName st
return errors.New("this function is unimplemented on non windows platforms")
}
func (e *Engine) QueryRegKey(registryString string, path string) (RegistryRetValue, error) {
return new(RegistryRetValue), errors.New("this function is unimplemented on non windows platforms")
return RegistryRetValue{}, errors.New("this function is unimplemented on non windows platforms")
}

0 comments on commit 8491f3b

Please sign in to comment.