mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
fixed router test for linux.
This commit is contained in:
parent
bedbfc6c92
commit
923f34e905
2 changed files with 9 additions and 2 deletions
|
@ -110,12 +110,12 @@ namespace NzbDrone
|
|||
return ApplicationModes.Help;
|
||||
}
|
||||
|
||||
if (_startupArguments.Flags.Contains(StartupArguments.INSTALL_SERVICE))
|
||||
if (!OsInfo.IsLinux && _startupArguments.Flags.Contains(StartupArguments.INSTALL_SERVICE))
|
||||
{
|
||||
return ApplicationModes.InstallService;
|
||||
}
|
||||
|
||||
if (_startupArguments.Flags.Contains(StartupArguments.UNINSTALL_SERVICE))
|
||||
if (!OsInfo.IsLinux && _startupArguments.Flags.Contains(StartupArguments.UNINSTALL_SERVICE))
|
||||
{
|
||||
return ApplicationModes.UninstallService;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue