diff --git a/trunk/ripnews/ripnews.rb b/trunk/ripnews/ripnews.rb index eaff7f2..1801744 100755 --- a/trunk/ripnews/ripnews.rb +++ b/trunk/ripnews/ripnews.rb @@ -303,7 +303,10 @@ end for group in @config.keys.sort print "Getting articles for #{group}\n" @articles = Article.new(@config[group]["NNTPSERVER"], group, @config[group]["NEWSRCNAME"]) - @articles.get_articles(@config[group]["CACHEDIR"]) + if @articles.get_articles(@config[group]["CACHEDIR"]) == false + @articles.quit + next + end unless FileTest.directory?("#{@config[group]["DATADIR"]}/#{group}") or Dir.mkdir("#{@config[group]["DATADIR"]}/#{group}", @config[group]["PERMISSION"].oct)