Skip to content

Commit

Permalink
avoid precedence warning
Browse files Browse the repository at this point in the history
Perl 5.40.0 extended the scope of the precedence warning to include
ternary operators.

<https://perldoc.perl.org/5.40.0/perldelta>

Reported-By: Peter Sütterlin <[email protected]>
  • Loading branch information
wfrisch committed Jul 11, 2024
1 parent 9e7bd86 commit 79bb691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/stow.in
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ Report bugs to: bug-stow\@gnu.org
Stow home page: <http://www.gnu.org/software/stow/>
General help using GNU software: <http://www.gnu.org/gethelp/>
EOT
exit defined $msg ? 1 : 0;
exit (defined $msg ? 1 : 0);
}

sub version {
Expand Down

0 comments on commit 79bb691

Please sign in to comment.