diff --git a/src/ota_proxy/ota_cache.py b/src/ota_proxy/ota_cache.py index 1d48cfbde..3c8fbacf0 100644 --- a/src/ota_proxy/ota_cache.py +++ b/src/ota_proxy/ota_cache.py @@ -139,11 +139,7 @@ def __init__( self._external_cache_data_dir = None self._external_cache_mp = None - if ( - cache_enabled - and external_cache_mnt_point - and mount_external_cache(external_cache_mnt_point) - ): + if external_cache_mnt_point and mount_external_cache(external_cache_mnt_point): logger.info( f"external cache source is enabled at: {external_cache_mnt_point}" )