diff options
author | David Flatz | 2015-09-02 12:09:26 +0200 |
---|---|---|
committer | David Flatz | 2015-09-02 12:09:26 +0200 |
commit | 6a64e44bf81efcda494d4b2a7b147a25f552039b (patch) | |
tree | d7ca390cd02a1fc7c8c07b386ed5d518d9178088 /it.class | |
parent | f4164f45ed88fee97a17ae54451ae80638433309 (diff) | |
download | itools-6a64e44bf81efcda494d4b2a7b147a25f552039b.tar.gz itools-6a64e44bf81efcda494d4b2a7b147a25f552039b.tar.bz2 itools-6a64e44bf81efcda494d4b2a7b147a25f552039b.zip |
ignore warning from libpng that is not an error
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -690,7 +690,7 @@ static function imageconvert($p) $ultratimeout = file_exists("/opt/ultra/bin/ultratimeout") ? "/opt/ultra/bin/ultratimeout 30 " : ""; if (in_array($type, explode(',', $p['types']))) # Valid type? - $cmdoutput = it::exec($ultratimeout . 'gm convert 2>&1 {-opts} {in} {type}:{out} || echo "SHELL ERROR $?"', $p); + $cmdoutput = it::exec('( ' . $ultratimeout . 'gm convert 2>&1 {-opts} {in} {type}:{out} || echo "SHELL ERROR $?" ) | grep -v "iCCP: known incorrect sRGB profile"', $p); return $cmdoutput === ""; } |