Navigation Menu

Skip to content

Commit

Permalink
Do operations to cancel absorbing by the top level
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 17, 2015
1 parent 87ef180 commit 18ddad0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bin/droonga-engine-absorb-data
Expand Up @@ -46,7 +46,11 @@ module Droonga

succeeded = absorb

puts "Done." if succeeded
if succeeded
puts "Done."
else
do_cancel
end
succeeded
end

Expand Down Expand Up @@ -225,7 +229,6 @@ module Droonga

if absorber.error_message
puts(absorber.error_message)
do_cancel
return false
end

Expand Down

0 comments on commit 18ddad0

Please sign in to comment.