[pve-devel] [PATCH storage 1/3] CephConfig: do not always interpret '; ' as a comment

Dominik Csapak d.csapak at proxmox.com
Thu Jun 27 11:29:12 CEST 2019


On 6/27/19 11:05 AM, Thomas Lamprecht wrote:
> On 6/27/19 10:43 AM, Dominik Csapak wrote:
>> +	$line =~ s/^;.*$//;
> 
> above should be
> 
> 
> $line =~ s/^\s*;.*$//;
> 
> or?
> 

the line above that line

 > $line =~ s/^\s+//;

already filters white space at the start, so i saw no need to do this




More information about the pve-devel mailing list