Commit ff39501d authored by anonym's avatar anonym
Browse files

Fix logic issue.

It should be obvious from the Exception message that the check we did
was the exact opposite of what we wanted.
parent 5d933be2
......@@ -110,7 +110,7 @@ end
Then /^drive "([^"]+)" is detected by Tails$/ do |name|
next if @skip_steps_while_restoring_background
raise "Tails is not running" if @vm.is_running?
raise "Tails is not running" unless @vm.is_running?
try_for(10, :msg => "Drive '#{name}' is not detected by Tails") do
@vm.disk_detected?(name)
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment