diff --git a/lib/simple_captcha/utils.rb b/lib/simple_captcha/utils.rb index 8427d31..94097d7 100644 --- a/lib/simple_captcha/utils.rb +++ b/lib/simple_captcha/utils.rb @@ -5,7 +5,6 @@ module Utils #:nodoc # Execute command with params and return output if exit status equal expected_outcodes def self.run(cmd, params = "", expected_outcodes = 0) command = %Q[#{cmd} #{params}].gsub(/\s+/, " ") - command = "#{command} 2>&1" unless (image_magick_path = SimpleCaptcha.image_magick_path).blank? command = File.join(image_magick_path, command)