mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
Open input file with "<" not ">>"
This commit is contained in:
parent
93a9883bed
commit
c3997a6640
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ sub mtr_appendfile_to_file ($$) {
|
|||
my $to_file= shift;
|
||||
|
||||
open(TOFILE,">>",$to_file) or mtr_error("can't open file \"$to_file\": $!");
|
||||
open(FROMFILE,">>",$from_file)
|
||||
open(FROMFILE,"<",$from_file)
|
||||
or mtr_error("can't open file \"$from_file\": $!");
|
||||
print TOFILE while (<FROMFILE>);
|
||||
close FROMFILE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue