openlog failed, exit
authorLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:23:54 +0000 (17:23 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:23:54 +0000 (17:23 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24922 ec53bebd-3082-4978-b11e-865c3cabbd6b

kdc/hpropd.c

index f7a803dbb995cb51cf707a095de282863e5a2676..73dc85d18f1c051d0da76525dc7ab67603d817e3 100644 (file)
@@ -89,7 +89,7 @@ main(int argc, char **argv)
 
     ret = krb5_openlog(context, "hpropd", &fac);
     if(ret)
-       ;
+       errx(1, "krb5_openlog");
     krb5_set_warn_dest(context, fac);
 
     if(getarg(args, num_args, argc, argv, &optidx))