File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ code-check:
272272 fi ; \
273273 if command -v "perltidy" >/dev/null 2>&1; then \
274274 echo "Running perltidy to check Perl code..." ; \
275- perltidy -se -wma -wmauc=0 -wmr -wuk \
275+ perltidy -se -wma -wmauc=0 -wmr -wnt - wuk \
276276 -wvt ='c p r u' -wvxl='*_unused' $$F ; \
277277 else \
278278 echo "Skipping Perl code checking (perltidy not found)" ; \
Original file line number Diff line number Diff line change @@ -377,11 +377,12 @@ sub read_storageconf {
377377
378378 $key {' SIZE' } .= " ,0" unless $key {' SIZE' } =~ / ,/ ;
379379 $key {' SIZE' } =~ s / ,/ :/ ;
380- $key {' FILTERED' }
381- = defined $key { ' FILTERED ' }
382- ? $key {' FILTERED' } =~ / ^(true|yes|on)$ /i
380+ $key {' FILTERED' } = defined $key { ' FILTERED ' }
381+ ? (
382+ $key {' FILTERED' } =~ / ^(true|yes|on)$ /i
383383 ? 1
384384 : 0
385+ )
385386 : 0;
386387
387388 if (!defined $stor { $key {' OPTIONS' } }) {
You can’t perform that action at this time.
0 commit comments