summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-08-04 23:05:20 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-04 23:05:20 -0400
commitc9fe458152c9fa3ceccc635a8ce3dafc069885c6 (patch)
treeec40dc733de2ada1ddc371d1c405037cee6c96e5
parent373fb99a7fa6271178da3d014d5f35cc5ca4c0a8 (diff)
exiftool: -ignoreMinorErrors
-rw-r--r--post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/post.php b/post.php
index 11d9a581..768199a8 100644
--- a/post.php
+++ b/post.php
@@ -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 -q -all= ' . escapeshellarg($upload)))
+ if($error = shell_exec_error('exiftool -ignoreMinorErrors -q -all= ' . escapeshellarg($upload)))
error('Could not strip EXIF metadata!', null, $error);
} else {
$image->to($post['file']);