Change get_exit_signal array types to char