From 803083fc2ea005a97963d438773d48fafae34467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Thu, 4 Jun 2015 19:16:52 +0200 Subject: [PATCH] we don't care about convert output/errors --- app/models/optimized_image.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/optimized_image.rb b/app/models/optimized_image.rb index 029ac1b03..d29560ab1 100644 --- a/app/models/optimized_image.rb +++ b/app/models/optimized_image.rb @@ -159,7 +159,7 @@ class OptimizedImage < ActiveRecord::Base end def self.convert_with(instructions, to) - `convert #{instructions.join(" ")}` + `convert #{instructions.join(" ")} &> /dev/null` return false if $?.exitstatus != 0 ImageOptim.new.optimize_image!(to)