summaryrefslogtreecommitdiff
path: root/rhautoimport-tr
diff options
context:
space:
mode:
Diffstat (limited to 'rhautoimport-tr')
-rwxr-xr-xrhautoimport-tr4
1 files changed, 2 insertions, 2 deletions
diff --git a/rhautoimport-tr b/rhautoimport-tr
index 7077b88..f9e16b2 100755
--- a/rhautoimport-tr
+++ b/rhautoimport-tr
@@ -61,7 +61,7 @@ my $show_title = $allowed_dbs[0]->{'SHOWTITLE'};
my @today = Date::Calc::Standard_to_Business(Date::Calc::Today());
if($today[2] == 5) {
print "please don't run this script on fridays!\n";
- exit 1;
+ exit 42;
}
my @broadcast_day = Date::Calc::Business_to_Standard($today[0], $today[1], 5);
if($today[2] < 5) {
@@ -110,7 +110,7 @@ for my $entry ($feed->entries) {
my $current_file = `cat $STAT_FILE`;
if($current_file eq $file) {
print "Already downloaded file of today\n";
- exit 0;
+ exit 42;
}
if(!rhautoimport::check_file_extension($file)) {
print "\n\nThe extension of the matching file '". $file . "' seems to be wrong - manual import necessary!!!\n";