mirror of
https://github.com/Sonarr/Sonarr
synced 2025-02-23 22:51:19 +00:00
Fixed: Don't run netsh unless on Windows
This commit is contained in:
parent
9e11745cb2
commit
c9d7e54417
1 changed files with 5 additions and 0 deletions
|
@ -127,6 +127,11 @@ namespace NzbDrone.Host.AccessControl
|
|||
|
||||
private List<UrlAcl> GetRegisteredUrls()
|
||||
{
|
||||
if (OsInfo.IsNotWindows)
|
||||
{
|
||||
return new List<UrlAcl>();
|
||||
}
|
||||
|
||||
var arguments = String.Format("http show urlacl");
|
||||
var output = _netshProvider.Run(arguments);
|
||||
|
||||
|
|
Loading…
Reference in a new issue