Skip to content

Commit

Permalink
fix kolideURL check
Browse files Browse the repository at this point in the history
  • Loading branch information
zackattack01 committed Jun 7, 2024
1 parent c02eaf2 commit f118073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/launcher/svc_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func (w *winSvc) Execute(args []string, r <-chan svc.ChangeRequest, changes chan
func determineRootDirectory(opts *launcher.Options, slogger *slog.Logger) string {
optsRootDirectory := opts.RootDirectory
// don't mess with the path if this installation isn't pointing to a kolide server URL
if opts.ControlServerURL != "k2device.kolide.com" && opts.ControlServerURL != "k2device-preprod.kolide.com" {
if opts.KolideServerURL != "k2device.kolide.com" && opts.KolideServerURL != "k2device-preprod.kolide.com" {
return optsRootDirectory
}

Expand Down

0 comments on commit f118073

Please sign in to comment.