diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-03-13 00:28:50 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-03-13 00:28:50 (GMT) |
commit | 66727097e79e98dc99b7c65105bb941ddf55e934 (patch) | |
tree | 9a939e114435183170b729afbf309ef268b5692e /rhautoimport-oi | |
parent | 43000f158817e8a5e5578e52598b6e28d64515b8 (diff) |
added special return code for non-imports which shouldn't give an error
Diffstat (limited to 'rhautoimport-oi')
-rwxr-xr-x | rhautoimport-oi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rhautoimport-oi b/rhautoimport-oi index 3cd8ad3..f558c5e 100755 --- a/rhautoimport-oi +++ b/rhautoimport-oi @@ -78,7 +78,7 @@ my $current_stat = `cat $STAT_FILE`; my ($current_id, $current_file) = $current_stat =~ m/^(.*)\n(.*)/; if($current_id eq $id) { print "Already downloaded current file\n"; - exit 0; + exit 42; } print "looking for files like '$bdfile' in RSS Feed\n"; |