From fe0cfcfaaa46a427d54ff15ec88adfbb2fa01586 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Nov 2007 17:10:45 +0000 Subject: [PATCH] tell the suer when ev loop init fails --- src/main.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.C b/src/main.C index 3433b801..8919eb2a 100644 --- a/src/main.C +++ b/src/main.C @@ -617,7 +617,9 @@ void rxvt_init () { ptytty::init (); - ev::ev_default_loop (0); + + if (!ev::ev_default_loop (0)) + rxvt_fatal ("cannot initialise libev (bad value for LIBEV_METHODS?)\n"); rxvt_environ = environ; -- 2.34.1