1 | /* |
1 | /* |
2 | gvpe.C -- the main file for gvpe |
2 | gvpe.C -- the main file for gvpe |
3 | Copyright (C) 1998-2002 Ivo Timmermans <ivo@o2w.nl> |
3 | Copyright (C) 1998-2002 Ivo Timmermans <ivo@o2w.nl> |
4 | 2000-2002 Guus Sliepen <guus@sliepen.eu.org> |
4 | 2000-2002 Guus Sliepen <guus@sliepen.eu.org> |
5 | 2003-2008 Marc Lehmann <gvpe@schmorp.de> |
5 | 2003-2011 Marc Lehmann <gvpe@schmorp.de> |
6 | |
6 | |
7 | This file is part of GVPE. |
7 | This file is part of GVPE. |
8 | |
8 | |
9 | GVPE is free software; you can redistribute it and/or modify it |
9 | GVPE is free software; you can redistribute it and/or modify it |
10 | under the terms of the GNU General Public License as published by the |
10 | under the terms of the GNU General Public License as published by the |
… | |
… | |
286 | |
286 | |
287 | setup_signals (); |
287 | setup_signals (); |
288 | |
288 | |
289 | if (!network.setup ()) |
289 | if (!network.setup ()) |
290 | { |
290 | { |
291 | ev_loop (EV_DEFAULT_ 0); |
291 | ev_run (EV_DEFAULT_ 0); |
292 | cleanup_and_exit (EXIT_FAILURE); |
292 | cleanup_and_exit (EXIT_FAILURE); |
293 | } |
293 | } |
294 | |
294 | |
295 | slog (L_ERR, _("unrecoverable error while setting up network, exiting.")); |
295 | slog (L_ERR, _("unrecoverable error while setting up network, exiting.")); |
296 | cleanup_and_exit (EXIT_FAILURE); |
296 | cleanup_and_exit (EXIT_FAILURE); |