Skip error writing to unexistent log

This commit is contained in:
Mikhail Gordeev 2020-04-20 23:19:24 +03:00
parent 3757845a27
commit 5ae1d19a2c

View File

@ -88,7 +88,10 @@ class CB:
unlink(self.work_dir / f'mkimage-profiles/conf.d/{PROG}.mk')
os.chdir(self._save_cwd)
self.info(f'Finish {PROG}')
try:
self.info(f'Finish {PROG}')
except FileNotFoundError:
pass
self.lock_file.close()
def expand_path(self, path: PathLike):