chore(gonf): fix go vet and staticcheck errors

This commit is contained in:
Julien Dessaux 2024-04-30 08:34:26 +02:00
parent cae4735276
commit 72be13c3e9
Signed by: adyxax
GPG key ID: F92E51B86E07177E
6 changed files with 4 additions and 18 deletions

View file

@ -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
}