mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-21 13:08:42 +00:00
config_tools: fix the board inspector exit issue
Fix the issue that board inspector exit after showing warning message. Tracked-On: #6689 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
This commit is contained in:
parent
af8b51a63f
commit
cbce5c7775
@ -51,7 +51,6 @@ def check_deps():
|
|||||||
res = subprocess.Popen(["update-pciids", "-q"])
|
res = subprocess.Popen(["update-pciids", "-q"])
|
||||||
if res.wait() != 0:
|
if res.wait() != 0:
|
||||||
logging.warning(f"Failed to invoke update-pciids. No functional impact is foreseen, but descriptions of PCI devices may be inaccurate.")
|
logging.warning(f"Failed to invoke update-pciids. No functional impact is foreseen, but descriptions of PCI devices may be inaccurate.")
|
||||||
sys.exit(1)
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.warning(f"Failed to invoke update-pciids: {e}. No functional impact is foreseen, but descriptions of PCI devices may be unavailable.")
|
logging.warning(f"Failed to invoke update-pciids: {e}. No functional impact is foreseen, but descriptions of PCI devices may be unavailable.")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user