diff --git a/scripts/runfvp b/scripts/runfvp
index 8e6fe655..10a8ad1c 100755
--- a/scripts/runfvp
+++ b/scripts/runfvp
@@ -86,8 +86,9 @@ def start_fvp(args, fvpconf, extra_args):
     except FileNotFoundError as e:
         logger.error(f"FVP executable not found ({e})")
     finally:
-        return fvp.stop()
+        rv=fvp.stop()
 
+    return rv
 
 def runfvp(cli_args):
     args, extra_args = parse_args(cli_args)
