diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-04 23:15:01 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-04 23:15:01 -0400 |
| commit | f1e3c53d8d504cfd2ad34b948462f0486c02cc65 (patch) | |
| tree | 66aefda8db9df5e85ed9df874bbe2f3d3a66dd28 /post.php | |
| parent | c9fe458152c9fa3ceccc635a8ce3dafc069885c6 (diff) | |
exiftool: -q needed twice to suppress warning messages
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -528,7 +528,7 @@ if (isset($_POST['delete'])) { if ($config['redraw_image'] || (!@$post['exif_stripped'] && $config['strip_exif'] && ($post['extension'] == 'jpg' || $post['extension'] == 'jpeg'))) { if (!$config['redraw_image'] && $config['use_exiftool']) { - if($error = shell_exec_error('exiftool -ignoreMinorErrors -q -all= ' . escapeshellarg($upload))) + if($error = shell_exec_error('exiftool -ignoreMinorErrors -q -q -all= ' . escapeshellarg($upload))) error('Could not strip EXIF metadata!', null, $error); } else { $image->to($post['file']); |
