We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 817efb1 commit 7bce9edCopy full SHA for 7bce9ed
service/agentconf.go
@@ -203,7 +203,7 @@ func (s *systemdServiceManager) WriteSystemdAgents(
203
// If this happens, then D-Bus will error with the message below.
204
// We need to detect this condition and fall through to linking the
205
// service files manually.
206
- if strings.Contains(err.Error(), "No such method 'LinkUnitFiles'") {
+ if strings.Contains(strings.ToLower(err.Error()), "no such method") {
207
dbusMethodFound = false
208
logger.Infof("attempting to manually link service file for %s", agentName)
209
} else {
0 commit comments