aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2010-08-13 17:46:36 -0700
committerRuss Allbery <rra@stanford.edu>2010-08-13 17:46:36 -0700
commit1a57d2409a43623cd1396bff6b22f815dbc9e799 (patch)
treeb657458d8caf6ad7cd132c47815145cf1b963965 /client
parentdacc1c6b8e8d4bdd1daffb84efd58f16e45e3cba (diff)
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.
Diffstat (limited to 'client')
-rw-r--r--client/keytab.c2
1 files changed, 1 insertions, 1 deletions
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