summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authornekomiko482 <nekomiko482@yandex.ru>2016-07-07 12:53:40 +0300
committerGitHub <noreply@github.com>2016-07-07 12:53:40 +0300
commita55760299c6777fc841a9990fa9b590b17663bb8 (patch)
tree650be267d4f8e45e195d192a1198590fc2b6f957 /post.php
parent11cecf8452d724b1a61e82292cff1cc16a5403e7 (diff)
Fixes incompatibility with BSD's md5 output format.
fixes #190
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 aa1b8235..753d2006 100644
--- a/post.php
+++ b/post.php
@@ -607,7 +607,7 @@ if (isset($_POST['delete'])) {
error($config['error']['nomove']);
if ($md5cmd) {
- $output = shell_exec_error($md5cmd . " < " . escapeshellarg($upload));
+ $output = shell_exec_error($md5cmd . " " . escapeshellarg($upload));
$output = explode(' ', $output);
$hash = $output[0];
}