[parted-devel] [PATCH] Fix set and disk_set to not crash when no flags are supported

Brian C. Lane bcl at redhat.com
Wed May 23 20:23:06 BST 2018


On Thu, May 10, 2018 at 01:00:56PM -0400, Phillip Susi wrote:
> Loop labels and file images support no flags.  set and disk_set
> would prompt for a flag and accept any string since the list of
> flags was empty, then fail to look up an actual flag value, then
> throw an exception with a null string for the name of the flag,
> which would bug.

I'm not sure what those last 3 words are supposed to mean :)

Looks good to me other than that.
-- 
Brian C. Lane (PST8PDT)



More information about the parted-devel mailing list