summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it.class4
1 files changed, 0 insertions, 4 deletions
diff --git a/it.class b/it.class
index fa3eb29..2fc4b35 100644
--- a/it.class
+++ b/it.class
@@ -525,11 +525,7 @@ static function imageconvert($p)
$p['-opts'] = array('-thumbnail' => $p['size']) + (array)$p['-opts'];
if (in_array($type, explode(',', $p['types']))) # Valid type?
- {
$cmdoutput = it::exec('convert 2>&1 -flatten -quality 75 {-opts} {in} {type}:{out} || echo "SHELL ERROR $?"', $p);
- if (it::match('SHELL ERROR 139', $cmdoutput)) # segmentation fault
- copy($p['in'], "/tmp/imageconvert.segfault.in");
- }
return $cmdoutput === "";
}