summaryrefslogtreecommitdiff
path: root/sim/main.cc
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-01-17 01:30:39 -0500
committerNathan Binkert <binkertn@umich.edu>2005-01-17 01:30:39 -0500
commit32d3b0aa36c6580bf20c5d0091e67c2a9ce149e0 (patch)
tree11265fb7462c21147e27d10458c2f13bb7d79a57 /sim/main.cc
parent6d980a2d1cbac504474b76c2eb7ff7620c02b7e3 (diff)
downloadgem5-32d3b0aa36c6580bf20c5d0091e67c2a9ce149e0.tar.xz
get the exit condition for the python code right
sim/main.cc: get the exit condition right --HG-- extra : convert_revision : 0dada3d68492c46981c51d3de0de409b282bb13b
Diffstat (limited to 'sim/main.cc')
-rw-r--r--sim/main.cc2
1 files changed, 1 insertions, 1 deletions
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);
}