Skip to content

Commit

Permalink
Added closing statement for YAML filehandle
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixKrueger committed Sep 22, 2020
1 parent 0e4431e commit 23ce651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SNPsplit
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ sub print_YAML{
}
}
print YAML "...\n";

close YAML or die "Failed to close filehandle YAML: $!";
}

###
Expand Down Expand Up @@ -2042,7 +2042,7 @@ sub print_helpfile{
--version Displays version information and exits.
Script last modified: 16 June 2020
Script last modified: 22 September 2020
EOF
;
exit 1;
Expand Down

0 comments on commit 23ce651

Please sign in to comment.