Skip to content

Commit

Permalink
Rearrange defaulting for perltidy
Browse files Browse the repository at this point in the history
And add -viu to .perltidy to activate
  • Loading branch information
tlhackque committed Mar 22, 2024
1 parent 6fc0181 commit 7017dab
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions acme_token_check
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,16 @@ if( defined $rectype ) {
$remove = 0;
}

$hash = 32 if( defined $hash && $hash <= 0 );
$hash = 63 if( defined $hash && $hash > 63 );
$unique = 1 unless( defined $hash || defined $unique );
$unique ||= $hash;
@ns = split( /, ?/, join( ',', @ns ) );
@cnames = split( /, ?/, join( ',', @cnames ) );
$recurse = 1 unless( defined $recurse );
$port = 53 unless( defined $port );
$srcport = 0 unless( defined $srcport );
$ttl = 30 * 60 unless( defined $ttl );
@ns = split( /, ?/, join( ',', @ns ) );
@cnames = split( /, ?/, join( ',', @cnames ) );
$hash = 32 if( defined $hash && $hash <= 0 );
$hash = 63 if( defined $hash && $hash > 63 );
$unique = 1 unless( defined $hash || defined $unique );
$unique ||= $hash;

# Get a list of zones from named's statistics channel if specified & no command line zones

Expand Down

0 comments on commit 7017dab

Please sign in to comment.