summaryrefslogtreecommitdiff
path: root/rhimport-wl
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2012-01-13 19:58:32 (GMT)
committerChristian Pointner <equinox@helsinki.at>2012-01-13 19:58:32 (GMT)
commitd136cd78e340e8ec3593dd4f2e7c3bfcb4fdd492 (patch)
tree46025af0e8acfd0c6339c8b28ca430b9192a3727 /rhimport-wl
parent27de4cd7b41779a5c1ec8643cb7210a1f6f8a34b (diff)
also print STDERR on addnote command
git-svn-id: https://svn.helsinki.at/rhimport/trunk@109 7c65635b-ec39-4f67-a626-873dbafdd612
Diffstat (limited to 'rhimport-wl')
-rwxr-xr-xrhimport-wl3
1 files changed, 2 insertions, 1 deletions
diff --git a/rhimport-wl b/rhimport-wl
index 072c771..cf51b73 100755
--- a/rhimport-wl
+++ b/rhimport-wl
@@ -111,12 +111,13 @@ for my $entry ($feed->entries) {
close $writer;
waitpid $pid, 0;
if ( $? >> 8 ) {
- print "\n\nPV: adding note failed\n";
+ print "\n\nPV: adding note returned non-zero value\n";
print "STDERR:\n" . join('', <$error>) . "\n";
print "STDOUT:\n" . join('', <$reader>) . "\n";
print "Ignoring failed headline import!\n";
} else {
print join('', <$reader>) . "\n";
+ print join('', <$error>) . "\n";
}
print "\n";
}