From: Nathan Binkert Date: Mon, 17 Jan 2005 06:30:39 +0000 (-0500) Subject: get the exit condition for the python code right X-Git-Tag: m5_1.0_tutorial~110^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32d3b0aa36c6580bf20c5d0091e67c2a9ce149e0;p=gem5.git get the exit condition for the python code right sim/main.cc: get the exit condition right --HG-- extra : convert_revision : 0dada3d68492c46981c51d3de0de409b282bb13b --- 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); }