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