ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/gvpe.C
(Generate patch)

Comparing gvpe/src/gvpe.C (file contents):
Revision 1.1 by pcg, Fri Mar 18 01:53:05 2005 UTC vs.
Revision 1.4 by pcg, Wed Mar 23 20:22:59 2005 UTC

1/* 1/*
2 vped.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-2005 Marc Lehmann <gvpe@schmorp.de> 5 2003-2005 Marc Lehmann <gvpe@schmorp.de>
6 6
7 This file is part of GVPE. 7 This file is part of GVPE.
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))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines