… | |
… | |
41 | #endif |
41 | #endif |
42 | |
42 | |
43 | #include <openssl/err.h> |
43 | #include <openssl/err.h> |
44 | #include <openssl/rand.h> |
44 | #include <openssl/rand.h> |
45 | |
45 | |
|
|
46 | #include "gettext.h" |
46 | #include "pidfile.h" |
47 | #include "pidfile.h" |
47 | |
48 | |
48 | #include "conf.h" |
49 | #include "conf.h" |
49 | #include "slog.h" |
50 | #include "slog.h" |
50 | #include "util.h" |
51 | #include "util.h" |
… | |
… | |
254 | |
255 | |
255 | RAND_load_file ("/dev/urandom", 1024); |
256 | RAND_load_file ("/dev/urandom", 1024); |
256 | |
257 | |
257 | if (!THISNODE) |
258 | if (!THISNODE) |
258 | { |
259 | { |
259 | slog (L_ERR, _("current node not set, or node '%s' not found in configfile, specify the nodename when starting vped."), |
260 | slog (L_ERR, _("current node not set, or node '%s' not found in configfile, specify the nodename when starting gvpe."), |
260 | thisnode ? thisnode : "<unset>"); |
261 | thisnode ? thisnode : "<unset>"); |
261 | exit (EXIT_FAILURE); |
262 | exit (EXIT_FAILURE); |
262 | } |
263 | } |
263 | |
264 | |
264 | if (detach (do_detach)) |
265 | if (detach (do_detach)) |