X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bin%2Fsup-add;h=e27a0ebf6ff446a9347d4fd8937653ab45b97db8;hb=beee5b381eb1d3e6b4541bacf039d62bf5914f29;hp=3ab7c4db0a18bf4bdb07bf2b9b7f9af375172e78;hpb=6a2730628825be024f852f2808b37ad2a8f1068f;p=sup diff --git a/bin/sup-add b/bin/sup-add index 3ab7c4d..e27a0eb 100755 --- a/bin/sup-add +++ b/bin/sup-add @@ -77,9 +77,9 @@ end $terminal.wrap_at = :auto Redwood::start -index = Redwood::Index.new +index = Redwood::Index.init -index.lock_or_die +index.lock_interactively or exit begin Redwood::SourceManager.load_sources