ensure that the output file is opened for output

This commit is contained in:
Trammell hudson 2018-01-18 17:22:01 -05:00
parent ae2f11d4c3
commit 9d5c2b9e41
Failed to extract signature

View File

@ -180,7 +180,7 @@ if ($output eq '-')
{
print $ffs;
} else {
open OUTPUT, $output
open OUTPUT, ">", $output
or die "$output: Unable to open: $!\n";
print OUTPUT $ffs;