diff --git a/dnscrypt-proxy/main.go b/dnscrypt-proxy/main.go index 6f7e563b..c7098107 100644 --- a/dnscrypt-proxy/main.go +++ b/dnscrypt-proxy/main.go @@ -44,6 +44,9 @@ func main() { dlog.Noticef("dnscrypt-proxy %s", AppVersion) if len(*svcFlag) != 0 { + if svc == nil { + dlog.Fatal("Built-in service installation is not supported on this platform") + } if err := service.Control(svc, *svcFlag); err != nil { dlog.Fatal(err) }