summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-08-04 23:15:01 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-04 23:15:01 -0400
commitf1e3c53d8d504cfd2ad34b948462f0486c02cc65 (patch)
tree66aefda8db9df5e85ed9df874bbe2f3d3a66dd28 /post.php
parentc9fe458152c9fa3ceccc635a8ce3dafc069885c6 (diff)
exiftool: -q needed twice to suppress warning messages
Diffstat (limited to 'post.php')
-rw-r--r--post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/post.php b/post.php
index 768199a8..ab4775eb 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 -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']);