All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 613c4623 authored by Mike Hibler's avatar Mike Hibler

Don't use implied $_ (@_) variable.

It can interfere with our caller if they are also using it!
parent 0f22833d
......@@ -608,8 +608,8 @@ sub TBPxelinuxConfig($;$)
# already exists, see if it is set correctly
if (-e "$nfile" && open(FD, "<$nfile")) {
while (<FD>) {
if (/^ONTIMEOUT\s+(\S+)/) {
while (my $line = <FD>) {
if ($line =~ /^ONTIMEOUT\s+(\S+)/) {
if ($1 eq $action) {
close(FD);
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment