iprop-log: fix logically dead warnx()

This commit is contained in:
Nicolas Williams
2016-02-29 12:02:59 -06:00
parent b3db07d5f0
commit c350ca6f6e

View File

@@ -429,9 +429,8 @@ last_version(struct last_version_options *opt, int argc, char **argv)
krb5_err(context, 1, ret, "kadm5_log_init_nolock");
}
} else {
if (argc == 0)
warnx("If this command appears to block, try the "
"--no-lock option");
warnx("If this command appears to block, try the "
"--no-lock option");
ret = kadm5_log_init_sharedlock(server_context, 0);
if (ret)
krb5_err(context, 1, ret, "kadm5_log_init_sharedlock");