From b77e62df6034750218467d3dd3600f530112d5b8 Mon Sep 17 00:00:00 2001 From: Luca Colagrande Date: Wed, 21 Feb 2024 13:20:40 +0100 Subject: [PATCH] util/sim: Fix minor bug --- util/sim/Simulation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/sim/Simulation.py b/util/sim/Simulation.py index 9261e4614d..e332ff74e4 100644 --- a/util/sim/Simulation.py +++ b/util/sim/Simulation.py @@ -92,7 +92,7 @@ def get_retcode(self): if self.dry_run: return 0 else: - if self.process: + if self.completed(): return int(self.process.returncode) def successful(self):