Skip to content

Commit cf8488d

Browse files
committed
Quickfix command import issues
1 parent a713845 commit cf8488d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

daemon/daemon.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,11 @@ func (d *Daemon) InstallDaemonConfiguration() error {
9999

100100
collectCmd := []string{}
101101

102+
// TODO: fix this thing, as it is absolutly not robust, and it might not work in all cases
102103
if len(commands) > 0 && commands[0] != "lda" {
104+
if strings.Contains(d.config.ExePath, commands[0]) {
105+
commands = commands[1:]
106+
}
103107
for _, command := range commands {
104108
d.logger.Debug().Msgf("Checking command path: %s", command)
105109
collectCmd = append(collectCmd, command)

0 commit comments

Comments
 (0)