1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

cleanup: updates message with dots

This commit is contained in:
Zdenek Kabelac 2018-06-05 18:47:03 +02:00
parent bc8c8d2f87
commit 8b111f28b0

View File

@ -25,7 +25,7 @@ int vgcfgrestore(struct cmd_context *cmd, int argc, char **argv)
if (argc == 1) {
vg_name = skip_dev_dir(cmd, argv[0], NULL);
if (!validate_name(vg_name)) {
log_error("Volume group name \"%s\" is invalid", vg_name);
log_error("Volume group name \"%s\" is invalid.", vg_name);
return EINVALID_CMD_LINE;
}
} else if (!(arg_is_set(cmd, list_ARG) && arg_is_set(cmd, file_ARG))) {
@ -64,12 +64,12 @@ int vgcfgrestore(struct cmd_context *cmd, int argc, char **argv)
}
if (!lock_vol(cmd, vg_name, LCK_VG_WRITE, NULL)) {
log_error("Unable to lock volume group %s", vg_name);
log_error("Unable to lock volume group %s.", vg_name);
return ECMD_FAILED;
}
if (!lock_vol(cmd, VG_ORPHANS, LCK_VG_WRITE, NULL)) {
log_error("Unable to lock orphans");
log_error("Unable to lock orphans.");
unlock_vg(cmd, NULL, vg_name);
return ECMD_FAILED;
}
@ -91,7 +91,7 @@ int vgcfgrestore(struct cmd_context *cmd, int argc, char **argv)
}
ret = ECMD_PROCESSED;
log_print_unless_silent("Restored volume group %s", vg_name);
log_print_unless_silent("Restored volume group %s.", vg_name);
unlock_vg(cmd, NULL, VG_ORPHANS);
unlock_vg(cmd, NULL, vg_name);