mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-14 12:20:00 +01:00
Print device signatures before prompt in repair action.
This commit is contained in:
committed by
Milan Broz
parent
43a1291f7c
commit
49279a3c19
@@ -870,6 +870,10 @@ static int action_luksRepair(void)
|
||||
goto out;
|
||||
}
|
||||
|
||||
r = tools_detect_signatures(action_argv[0], 1, NULL);
|
||||
if (r < 0)
|
||||
goto out;
|
||||
|
||||
r = yesDialog(_("Really try to repair LUKS device header?"),
|
||||
_("Operation aborted.\n")) ? 0 : -EINVAL;
|
||||
if (r == 0)
|
||||
|
||||
Reference in New Issue
Block a user