[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Partition resizing fails



Hi Lars,

On Sun, Dec 29, 2019 at 12:38:16AM +0100, Lars Kruse wrote:
> My proposal would be the following change (see [1]):
> 
> - return run("lvextend","-L${newsize}k", "$device");
> + return run("lvextend","-L${newsize}k", "$device") or run("lvextend", "-A", "n", "-L${newsize}k", "$device");

I suspect '||' needs to be used here instead of 'or'. But then my Perl skills 
are almost zero...

Wolfgang

Attachment: signature.asc
Description: PGP signature


Reply to: