diff options
Diffstat (limited to 'src/comm/CactusDefaultComm.c')
-rw-r--r-- | src/comm/CactusDefaultComm.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/comm/CactusDefaultComm.c b/src/comm/CactusDefaultComm.c index 128eb248..f1175ae8 100644 --- a/src/comm/CactusDefaultComm.c +++ b/src/comm/CactusDefaultComm.c @@ -394,7 +394,7 @@ int CactusDefaultExit (cGH *GH, int retval) @returntype int @returndesc This function should never return. - But if it does it will return 0. + But if it does it will return the return code to abort with. @endreturndesc @@*/ int CactusDefaultAbort (cGH *GH, int retval) @@ -414,10 +414,9 @@ int CactusDefaultAbort (cGH *GH, int retval) #else /* FIXME */ /*abort();*/ - retval = retval; #endif - exit (0); - return (0); + exit (retval); + return (retval); } |