… | |
… | |
196 | rxvt_term *term = new rxvt_term; |
196 | rxvt_term *term = new rxvt_term; |
197 | |
197 | |
198 | term->log_hook = &log_cb; |
198 | term->log_hook = &log_cb; |
199 | term->getfd_hook = &getfd_cb; |
199 | term->getfd_hook = &getfd_cb; |
200 | |
200 | |
201 | bool success; |
201 | bool success = true; |
202 | |
202 | |
203 | try |
203 | try |
204 | { |
204 | { |
205 | success = term->init (argv, envv); |
205 | term->init (argv, envv); |
206 | } |
206 | } |
207 | catch (const class rxvt_failure_exception &e) |
207 | catch (const class rxvt_failure_exception &e) |
208 | { |
208 | { |
209 | success = false; |
209 | success = false; |
210 | } |
210 | } |