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

debug: backtrace error path

Add backtrace for 'n' answer.
This commit is contained in:
Zdenek Kabelac 2014-05-18 20:07:24 +02:00
parent b73a786755
commit 58777756e8

View File

@ -3166,9 +3166,10 @@ int lv_extend(struct logical_volume *lv,
/* FIXME Support --force */
if (yes_no_prompt("Do full resync of extended "
"portion of %s/%s? [y/n]: ",
lv->vg->name, lv->name) == 'y')
goto out;
r = 0;
lv->vg->name, lv->name) == 'n') {
r = 0;
goto_out;
}
goto out;
}