mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-27 00:29:04 -04:00
resolve linter issues
This commit is contained in:
5 files changed
+39
-17
No files matched your search
@@ -39,7 +39,7 @@ func (j *janitor) cleanup() {
|
||||
// On unix like systems (linux, freebsd, etc) os.FindProcess will never return an error
|
||||
if p, err := os.FindProcess(pid); err == nil {
|
||||
if err := p.Signal(syscall.Signal(0)); err != nil {
|
||||
j.store.Delete(process.ProcEntry{
|
||||
_ = j.store.Delete(process.ProcEntry{
|
||||
Pid: pid,
|
||||
Extension: name,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user