We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a713845 commit cf8488dCopy full SHA for cf8488d
daemon/daemon.go
@@ -99,7 +99,11 @@ func (d *Daemon) InstallDaemonConfiguration() error {
99
100
collectCmd := []string{}
101
102
+ // TODO: fix this thing, as it is absolutly not robust, and it might not work in all cases
103
if len(commands) > 0 && commands[0] != "lda" {
104
+ if strings.Contains(d.config.ExePath, commands[0]) {
105
+ commands = commands[1:]
106
+ }
107
for _, command := range commands {
108
d.logger.Debug().Msgf("Checking command path: %s", command)
109
collectCmd = append(collectCmd, command)
0 commit comments