1
0
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:
Qstick 2019-09-30 20:46:47 -04:00
parent 31c73fe448
commit de7d6c68b8

View File

@ -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)