get the exit condition for the python code right
authorNathan Binkert <binkertn@umich.edu>
Mon, 17 Jan 2005 06:30:39 +0000 (01:30 -0500)
committerNathan Binkert <binkertn@umich.edu>
Mon, 17 Jan 2005 06:30:39 +0000 (01:30 -0500)
sim/main.cc:
    get the exit condition right

--HG--
extra : convert_revision : 0dada3d68492c46981c51d3de0de409b282bb13b

sim/main.cc

index 8b9f0fa439d1d12688351131cd9b7949f6a2a995..163c835ee82f62497c0de8232551e2024c484c59 100644 (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);
     }