aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xag6
1 files changed, 3 insertions, 3 deletions
diff --git a/ag b/ag
index 5602df5..c220b9d 100755
--- a/ag
+++ b/ag
@@ -154,8 +154,8 @@ Ag::Utils.proc_count = $options.jobs
def do_full
abort "Wrong argument type: #{$options.argmode.to_s}" unless $options.argmode == :dir
- do_delete_index(ignore_missing: true) unless $options.readonly
- do_create_index(ignore_exists: true)
+ do_delete_index(ignore_missing: true, _raise: true) unless $options.readonly
+ do_create_index(ignore_exists: true, _raise: true)
messages = $maildir.list(:cur)
@@ -180,7 +180,7 @@ end
def do_incremental
abort "Wrong argument type: #{$options.argmode.to_s}" unless $options.argmode == :dir
messages = $maildir.list(:new)
- do_create_index(ignore_exists: true)
+ do_create_index(ignore_exists: true, _raise: true)
opts = {
:in_processes => Ag::Utils.proc_count,