--- gvpe/src/gvpe.C 2011/02/15 13:31:23 1.19 +++ gvpe/src/gvpe.C 2013/07/05 10:04:22 1.23 @@ -232,7 +232,7 @@ VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); printf (_("Built with kernel interface %s/%s.\n"), IFTYPE, IFSUBTYPE); printf (_ - ("Copyright (C) 2003-2008 Marc Lehmann and others.\n" + ("Copyright (C) 2003-2011 Marc Lehmann and others.\n" "See the AUTHORS file for a complete list.\n\n" "GVPE comes with ABSOLUTELY NO WARRANTY. This is free software,\n" "and you are welcome to redistribute it under certain conditions;\n" @@ -287,12 +287,13 @@ setup_signals (); if (!network.setup ()) - { - ev_loop (EV_DEFAULT_ 0); - cleanup_and_exit (EXIT_FAILURE); - } + if (network.drop_privileges ()) + { + ev_run (EV_DEFAULT_ 0); + cleanup_and_exit (EXIT_FAILURE); + } - slog (L_ERR, _("unrecoverable error while setting up network, exiting.")); + slog (L_CRIT, _("unrecoverable error while setting up network, exiting.")); cleanup_and_exit (EXIT_FAILURE); }