diff options
Diffstat (limited to 'rhimport-dn')
-rwxr-xr-x | rhimport-dn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rhimport-dn b/rhimport-dn index ef2f4db..32d5bf3 100755 --- a/rhimport-dn +++ b/rhimport-dn @@ -94,7 +94,7 @@ for my $entry ($feed->entries) { print "summary:\n" . $summary; } - print "\n\n\n"; + print "\n"; } } ($file ne "") or die "No Entry found for today!\n"; @@ -123,6 +123,8 @@ $dbh->disconnect(); unlink $file; if(!$ret) { + print "\nImport Error:\n" + print $log; exit 1; } |