mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-12 22:12:38 +01:00
Fixed: Don't run netsh unless on Windows
This commit is contained in:
parent
9e11745cb2
commit
c9d7e54417
@ -127,6 +127,11 @@ private bool IsRegistered(UrlAcl urlAcl)
|
||||
|
||||
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 New Issue
Block a user