diff --git a/packages/base/all/vendor-config-onl/src/python/onl/install/InstallUtils.py b/packages/base/all/vendor-config-onl/src/python/onl/install/InstallUtils.py index c7d3ee14..1cc40e4c 100644 --- a/packages/base/all/vendor-config-onl/src/python/onl/install/InstallUtils.py +++ b/packages/base/all/vendor-config-onl/src/python/onl/install/InstallUtils.py @@ -106,7 +106,10 @@ class SubprocessMixin: sys.stderr.write(fd.read()) os.unlink(v2Out) else: - return subprocess.check_output(cmd, *args, cwd=cwd, **kwargs) + try: + return subprocess.check_output(cmd, *args, cwd=cwd, **kwargs) + except subprocess.CalledProcessError: + return '' def rmdir(self, path): self.log.debug("+ /bin/rmdir %s", path)