summaryrefslogtreecommitdiff
path: root/rhautoimport-dn
diff options
context:
space:
mode:
Diffstat (limited to 'rhautoimport-dn')
-rwxr-xr-xrhautoimport-dn4
1 files changed, 2 insertions, 2 deletions
diff --git a/rhautoimport-dn b/rhautoimport-dn
index 0feafdb..3bb0e58 100755
--- a/rhautoimport-dn
+++ b/rhautoimport-dn
@@ -79,7 +79,7 @@ for my $href ( @allowed_dbs ) {
if($show_id < 0) {
print "no dropbox for day in question\n";
- exit 0;
+ exit 42;
}
my $y = sprintf("%04d-%02d-%02d", @broadcast_day);
@@ -107,7 +107,7 @@ for my $entry ($files_feed->entries) {
my $current_file = `cat $STAT_FILE`;
if($current_file eq $path[-1]) {
print "Already downloaded file of day in question\n";
- exit 0;
+ exit 42;
}
$file = $path[-1];
if(!rhautoimport::check_file_extension($file)) {