summaryrefslogtreecommitdiffstats
path: root/extensions/Push/lib/Connector/TCL.pm
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Push/lib/Connector/TCL.pm')
-rw-r--r--extensions/Push/lib/Connector/TCL.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Push/lib/Connector/TCL.pm b/extensions/Push/lib/Connector/TCL.pm
index 16ebb0319..25e5750dc 100644
--- a/extensions/Push/lib/Connector/TCL.pm
+++ b/extensions/Push/lib/Connector/TCL.pm
@@ -267,7 +267,7 @@ sub _get_bug_data {
sub _write_file {
my ($filename, $content) = @_;
- open(my $fh, ">$filename") or die "Failed to write to $filename: $!\n";
+ open(my $fh, ">", $filename) or die "Failed to write to $filename: $!\n";
binmode($fh);
print $fh $content;
close($fh) or die "Failed to write to $filename: $!\n";