mirror of https://git.48k.eu/ogclient
utils: remove bogus cache not found error after refresh command
Remove log message "Cannot find device path to cache" spamming logs during operations such as refresh in clients without CACHE partition.master
parent
5698aa66d2
commit
ec132cfb95
|
@ -142,7 +142,6 @@ def get_cache_dev_path():
|
|||
proc_blkid = subprocess.run(['blkid', '-L', 'CACHE'],
|
||||
stdout=subprocess.PIPE)
|
||||
if proc_blkid.returncode != 0:
|
||||
logging.error('Cannot find device path to cache')
|
||||
return ''
|
||||
|
||||
return proc_blkid.stdout.decode().strip()
|
||||
|
|
Loading…
Reference in New Issue