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:
parent
26989e0cd7
commit
b1f765d72a
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.107 -
|
Version 2.02.107 -
|
||||||
==================================
|
==================================
|
||||||
|
Catch CTRL-c during pvremove prompts.
|
||||||
Show correct availability status for snapshot origin in lvscan.
|
Show correct availability status for snapshot origin in lvscan.
|
||||||
Move segment thin pool/volume info into segment display 'lvdisplay --maps'.
|
Move segment thin pool/volume info into segment display 'lvdisplay --maps'.
|
||||||
Display thin pool usage even when just thin volume is available.
|
Display thin pool usage even when just thin volume is available.
|
||||||
|
@ -37,6 +37,8 @@ int pvremove(struct cmd_context *cmd, int argc, char **argv)
|
|||||||
stack;
|
stack;
|
||||||
ret = ECMD_FAILED;
|
ret = ECMD_FAILED;
|
||||||
}
|
}
|
||||||
|
if (sigint_caught())
|
||||||
|
return_ECMD_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user