From: wmorgan Date: Sun, 17 Jun 2007 20:32:04 +0000 (+0000) Subject: sup-sync-back bugfix: use usual sources if no sources specified X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=b8031c969d41de07c9ae65e5b5eab17c5a663d95;p=sup sup-sync-back bugfix: use usual sources if no sources specified git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@462 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/bin/sup-sync-back b/bin/sup-sync-back index 871af88..688ccda 100644 --- a/bin/sup-sync-back +++ b/bin/sup-sync-back @@ -60,6 +60,7 @@ begin s.is_a?(Redwood::MBox::Loader) or Trollop::die "#{uri} is not an mbox source." s end + sources = index.usual_sources if sources.empty? any_modified = false sources.each { |s| s.reset! }