From 32d3b0aa36c6580bf20c5d0091e67c2a9ce149e0 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 17 Jan 2005 01:30:39 -0500 Subject: [PATCH] get the exit condition for the python code right sim/main.cc: get the exit condition right --HG-- extra : convert_revision : 0dada3d68492c46981c51d3de0de409b282bb13b --- sim/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/main.cc b/sim/main.cc index 8b9f0fa43..163c835ee 100644 --- a/sim/main.cc +++ b/sim/main.cc @@ -369,7 +369,7 @@ main(int argc, char **argv) } } - if (python_initialized && finishPythonConfig(simConfigDB)) { + if (python_initialized && !finishPythonConfig(simConfigDB)) { cprintf("Error processing python code\n"); exit(1); } -- 2.30.2