From 1a57d2409a43623cd1396bff6b22f815dbc9e799 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Fri, 13 Aug 2010 17:46:36 -0700 Subject: Use die instead of sysdie for no rekeyable principals In wallet-rekey, if the keytab we're supposed to rekey has no rekeyable principals, die rather than sysdie since there's no errno error to report. --- client/keytab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/keytab.c b/client/keytab.c index 16a94f3..76c30f7 100644 --- a/client/keytab.c +++ b/client/keytab.c @@ -241,7 +241,7 @@ rekey_keytab(struct remctl *r, krb5_context ctx, const char *type, /* If no new keytab data, then leave the keytab as-is. */ if (!rekeyed) - sysdie("no rekeyable principals found"); + die("no rekeyable principals found"); /* * Now merge the original keytab file with the one containing the new -- cgit v1.2.3