From 461f360b58a0fb994ec3bcd26ee060f1c2a78fc0 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Thu, 17 Sep 2020 23:44:53 -0500 Subject: [PATCH] iprop: Slight test race condition fix tests/kdc/check-iprop.in tends to wait for a log message then it reads a status file. Well, we shouldn't write the log message before writing the status file then! --- lib/kadm5/ipropd_slave.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/kadm5/ipropd_slave.c b/lib/kadm5/ipropd_slave.c index 7ccd40b11..9a6387667 100644 --- a/lib/kadm5/ipropd_slave.c +++ b/lib/kadm5/ipropd_slave.c @@ -655,9 +655,8 @@ slave_status(krb5_context context, (void) unlink(file); return; } - krb5_warnx(context, "slave status change: %s", status); - rk_dumpdata(file, status, len); + krb5_warnx(context, "slave status change: %s", status); free(status); }