mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-23 22:25:14 -04:00
Cleaned up environment detection
This commit is contained in:
@@ -101,7 +101,7 @@ namespace NzbDrone.Common.EnsureThat
|
||||
|
||||
if (param.Value.IsPathValid()) return param;
|
||||
|
||||
if (OsInfo.IsMono)
|
||||
if (OsInfo.IsNotWindows)
|
||||
{
|
||||
throw ExceptionFactory.CreateForParamValidation(param.Name, string.Format("value [{0}] is not a valid *nix path. paths must start with /", param.Value));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user