mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-02 14:45:34 +00:00
use return instead of next
This commit is contained in:
parent
08b86ef3d7
commit
b203155d00
@ -21,8 +21,8 @@ if ($arg1) {
|
|||||||
|
|
||||||
my $testfunc = sub {
|
my $testfunc = sub {
|
||||||
my $line = shift;
|
my $line = shift;
|
||||||
next if $line =~ m/^#/;
|
return if $line =~ m/^#/;
|
||||||
next if $line =~ m/^\?\?/;
|
return if $line =~ m/^\?\?/;
|
||||||
|
|
||||||
die "detected modified content: $line\n";
|
die "detected modified content: $line\n";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user