Skip to content

Commit

Permalink
Will properly fail on failed run command
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Newman committed Apr 20, 2011
1 parent 1851635 commit 473b540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wox/task.rb
Expand Up @@ -9,7 +9,7 @@ def run_command text, options
puts "Success. Results in #{options[:results]}"
puts
else
system "cat #{options[:results]}"
fail exec "cat #{options[:results]}"
end
end

Expand Down

0 comments on commit 473b540

Please sign in to comment.