From: root Date: Sun, 11 Nov 2007 17:10:45 +0000 (+0000) Subject: tell the suer when ev loop init fails X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=fe0cfcfaaa46a427d54ff15ec88adfbb2fa01586;p=dana%2Furxvt.git tell the suer when ev loop init fails --- 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;