Skip to content

Commit

Permalink
Add missing parenthesis in if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoj committed Feb 16, 2022
1 parent ea1bd5c commit 8f47e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/t/0060-check_required_services.ts
Expand Up @@ -13,7 +13,7 @@ my @active_daemons = qw/obsdispatcher.service obspublisher.service obsrepser
my $out=`systemctl list-units`;
my $mariadb;
foreach my $unit (split(/\n/, $out)) {
if $unit =~ /^\s*((mysql|mariadb)\.service)\s+/ {
if ($unit =~ /^\s*((mysql|mariadb)\.service)\s+/) {
$mariadb = $1;
last;
}
Expand Down

0 comments on commit 8f47e3a

Please sign in to comment.