Commit 49279a3c authored by Ondrej Kozina's avatar Ondrej Kozina Committed by Milan Broz

Print device signatures before prompt in repair action.

parent 43a1291f
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment