Skip to content

Commit

Permalink
Improve system resolver paths for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Nov 24, 2021
1 parent 9185bf5 commit 07c727c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion process/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ func (p *Process) GetProfile(ctx context.Context) (changed bool, err error) {
"/usr/lib/systemd/systemd-resolved",
"/lib64/systemd/systemd-resolved",
"/usr/lib64/systemd/systemd-resolved",
"/usr/bin/nscd",
"/usr/sbin/nscd",
"/usr/local/sbin/nscd":
"/usr/bin/dnsmasq",
"/usr/sbin/dnsmasq":
profileID = profile.SystemResolverProfileID
}
}
Expand Down

0 comments on commit 07c727c

Please sign in to comment.