diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-02-23 18:47:40 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-02-23 18:47:40 -0800 |
commit | 7aa342d050e746b0944ac17a81bf7ac3a7793b11 (patch) | |
tree | 0fc13226778ca4e2eaf86660809203ac6fe454c6 | |
parent | Prepare real wait for status. (diff) | |
download | backend-7aa342d050e746b0944ac17a81bf7ac3a7793b11.tar.gz backend-7aa342d050e746b0944ac17a81bf7ac3a7793b11.tar.bz2 backend-7aa342d050e746b0944ac17a81bf7ac3a7793b11.zip |
Fix arg.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-x | ag | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -148,7 +148,7 @@ Ag::Utils.proc_count = $options.jobs def do_full abort "Wrong argument type: #{$options.argmode.to_s}" unless $options.argmode == :dir begin - Ag::Storage.delete_index(list) + Ag::Storage.delete_index($options.name) rescue Elasticsearch::Transport::Transport::Errors::NotFound => e $stderr.puts "Index did not exist yet. Creating." if $options.debug end |