Hello Wolfgang,
Am Sun, 29 Dec 2019 11:42:50 +0100 schrieb Wolfgang Schweer <w.schw...@gmx.de>: > 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'. both seem to work. "man perlop" suggests to use "or" for control flow due to its lower precedence. > But then my Perl skills are almost zero... Same here :) Cheers, Lars