summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorJulien Dessaux2024-04-30 08:34:26 +0200
committerJulien Dessaux2024-04-30 08:34:26 +0200
commit72be13c3e986aaee110b8f9abc78f5afcef22727 (patch)
tree45f4b0ca60657cd2beccf639b9e7fe6db99ac0bd /stdlib
parentchore(gonf): factorise hostflag management (diff)
downloadgonf-72be13c3e986aaee110b8f9abc78f5afcef22727.tar.gz
gonf-72be13c3e986aaee110b8f9abc78f5afcef22727.tar.bz2
gonf-72be13c3e986aaee110b8f9abc78f5afcef22727.zip
chore(gonf): fix go vet and staticcheck errors
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/os/systemd/systemd.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/stdlib/os/systemd/systemd.go b/stdlib/os/systemd/systemd.go
index 5af1e91..8d5ec77 100644
--- a/stdlib/os/systemd/systemd.go
+++ b/stdlib/os/systemd/systemd.go
@@ -66,5 +66,4 @@ func systemd_service(name, state string) (gonf.Status, error) {
default:
return gonf.BROKEN, errors.New("unsupported systemctl operation " + state)
}
- return gonf.KEPT, nil
}