aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl/ldp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcl/ldp.c')
-rw-r--r--src/vcl/ldp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/vcl/ldp.c b/src/vcl/ldp.c
index af9c580a8c9..9e00d7e2668 100644
--- a/src/vcl/ldp.c
+++ b/src/vcl/ldp.c
@@ -2389,8 +2389,11 @@ ldp_constructor (void)
{
swrap_constructor ();
if (ldp_init () != 0)
- fprintf (stderr, "\nLDP<%d>: ERROR: ldp_constructor: failed!\n",
- getpid ());
+ {
+ fprintf (stderr, "\nLDP<%d>: ERROR: ldp_constructor: failed!\n",
+ getpid ());
+ _exit (1);
+ }
else if (LDP_DEBUG > 0)
clib_warning ("LDP<%d>: LDP constructor: done!\n", getpid ());
}