1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

pvremove: Catch CTRL-c during prompts.

This commit is contained in:
Alasdair G Kergon 2014-04-29 08:16:28 +01:00
parent 26989e0cd7
commit b1f765d72a
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.107 -
==================================
Catch CTRL-c during pvremove prompts.
Show correct availability status for snapshot origin in lvscan.
Move segment thin pool/volume info into segment display 'lvdisplay --maps'.
Display thin pool usage even when just thin volume is available.

View File

@ -37,6 +37,8 @@ int pvremove(struct cmd_context *cmd, int argc, char **argv)
stack;
ret = ECMD_FAILED;
}
if (sigint_caught())
return_ECMD_FAILED;
}
return ret;