diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-03-12 22:50:05 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-03-12 22:50:05 (GMT) |
commit | 593cb6b5edc8adfe2bbf290ba594f9260c0cf350 (patch) | |
tree | eb50c738ff6571cf9545c4d8910a95b71ce3a00a /rhautoimport-ra | |
parent | bbc151dcd8d88f543454cb282e1dac01ef720894 (diff) |
btl is now tested as well - note will only be set when import was successful
Diffstat (limited to 'rhautoimport-ra')
-rwxr-xr-x | rhautoimport-ra | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rhautoimport-ra b/rhautoimport-ra index 3cf2843..d75d18e 100755 --- a/rhautoimport-ra +++ b/rhautoimport-ra @@ -136,7 +136,7 @@ if($uri eq "") { exit 1; } -print "will import '$uri' to show $show_id, $show_title\n"; +print "\n\nwill import '$uri' to show $show_id, $show_title\n"; my ($ret, $log, $keptfile_uri) = rhautoimport::import_uri($show_id, $uri->as_string, "keep"); if($ret == 0) { print "\nImport Success:\n\n"; @@ -159,11 +159,13 @@ if($ret == 0) { } else { print "\nImport Error:\n\n"; print $log; + print "\n\nNot adding PV note!!"; exit 1; } } else { print "\nImport Error:\n\n"; print $log; + print "\n\nNot adding PV note!!"; exit 1; } |