summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rhimport.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rhimport.pm b/rhimport.pm
index 0d7fee8..d9b1097 100644
--- a/rhimport.pm
+++ b/rhimport.pm
@@ -345,8 +345,8 @@ sub pv_add_note
print $writer $title . "\n" . $text;
close $writer;
waitpid $pid, 0;
- $err_out = join('', <$error>);
- $read_out = join('', <$reader>);
+ my $err_out = join('', <$error>);
+ my $read_out = join('', <$reader>);
if ( $? >> 8 ) {
print "\n\nPV: adding note returned non-zero value\n";
print "STDERR:\n" . $err_out . "\n" unless $err_out eq '';