Skip to content

Commit d9a4b27

Browse files
committed
return stopped recording code via process exit code
1 parent 7d7dfa2 commit d9a4b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ void signal_stopped_recording(void* data, calldata_t* cd)
310310
cout << rec_stop << std::endl;
311311

312312
cout << "Exiting process" << std::endl;
313-
ExitProcess(0);
313+
ExitProcess(code);
314314
}
315315

316316
unsigned int __stdcall read_input_proc(void* lpParam)

0 commit comments

Comments
 (0)