get the exit condition for the python code right

sim/main.cc:
    get the exit condition right

--HG--
extra : convert_revision : 0dada3d68492c46981c51d3de0de409b282bb13b
This commit is contained in:
Nathan Binkert
2005-01-17 01:30:39 -05:00
parent 6d980a2d1c
commit 32d3b0aa36

View File

@@ -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);
}