mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Fixed: Log, Don't throw when trying update in docker
This commit is contained in:
parent
31c73fe448
commit
de7d6c68b8
@ -214,7 +214,8 @@ public void Execute(ApplicationUpdateCommand message)
|
|||||||
|
|
||||||
if (_osInfo.IsDocker)
|
if (_osInfo.IsDocker)
|
||||||
{
|
{
|
||||||
throw new CommandFailedException("Updating is disabled inside a docker container. Please update the container image.");
|
_logger.ProgressDebug("Updating is disabled inside a docker container. Please update the container image.");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OsInfo.IsNotWindows && !_configFileProvider.UpdateAutomatically && message.Trigger != CommandTrigger.Manual)
|
if (OsInfo.IsNotWindows && !_configFileProvider.UpdateAutomatically && message.Trigger != CommandTrigger.Manual)
|
||||||
|
Loading…
Reference in New Issue
Block a user