[parted-devel] [PATCH v3 2/2] parted: Fix resizepart and rm command

Phil Susi psusi at ubuntu.com
Mon Nov 13 19:11:59 UTC 2017


On 11/13/2017 1:10 PM, Sebastian Parschauer wrote:
> In interactive mode nothing is changed with my patch regarding the busy
> partition warning. It prints the question and reacts on yes/no answers.
> 
> -                if (ped_exception_throw (
> +                if (opt_script_mode && (!dangerous || force)) {
> ...  new code for script mode only
> +                } else if (ped_exception_throw (
> 
> Here in interactive mode it does what it did before.

Ahh, I missed the else there.  Nevermind.  I still think it would be
preferable for the translators to continue to throw the same warning
message, and just carry on, but I'm not hung up on that.

Also did you run the test suite?  I have a feeling this change will
break some of the existing tests and they will need tweaked, even if it
is only for the new language.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20171113/fe5d5ac4/attachment.sig>


More information about the parted-devel mailing list