We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c360e4 commit 21dd115Copy full SHA for 21dd115
1 file changed
internal/home/home.go
@@ -1102,15 +1102,6 @@ https://github.com/AdguardTeam/AdGuardHome/wiki/Getting-Started#running-without-
1102
func checkNetworkPermissions(ctx context.Context, l *slog.Logger) {
1103
l.InfoContext(ctx, "checking if adguard home has the necessary permissions")
1104
1105
- if ok, err := aghnet.CanBindPrivilegedPorts(ctx, l); !ok || err != nil {
1106
- l.ErrorContext(
1107
- ctx,
1108
- "this is the first launch of adguard home; you must run it as administrator.",
1109
- )
1110
-
1111
- os.Exit(osutil.ExitCodeFailure)
1112
- }
1113
1114
// We should check if AdGuard Home is able to bind to port 53
1115
err := aghnet.CheckPort("tcp", netip.AddrPortFrom(netutil.IPv4Localhost(), defaultPortDNS))
1116
if err != nil {
0 commit comments