iprop-log: fix logically dead warnx()
This commit is contained in:
@@ -429,9 +429,8 @@ 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);
|
||||||
if (ret)
|
if (ret)
|
||||||
krb5_err(context, 1, ret, "kadm5_log_init_sharedlock");
|
krb5_err(context, 1, ret, "kadm5_log_init_sharedlock");
|
||||||
|
Reference in New Issue
Block a user