Skip to content

Commit d5bf7b6

Browse files
committed
return -1 on halt, not 1
1 parent 080f5c7 commit d5bf7b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ntvcm.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3187,6 +3187,6 @@ int main( int argc, char * argv[] )
31873187

31883188
fflush( stdout );
31893189
tracer.Shutdown();
3190-
return g_haltExecuted ? 1 : g_exitCodeSet ? (int) g_exitCode : 0;
3190+
return g_haltExecuted ? -1 : g_exitCodeSet ? (int) g_exitCode : 0;
31913191
} //main
31923192

0 commit comments

Comments
 (0)