summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorMarcin Ɓabanowski <marcin@6irc.net>2016-07-08 05:45:18 +0200
committerGitHub <noreply@github.com>2016-07-08 05:45:18 +0200
commit7bec8a0a8561dfd5bfd56a030fa429a3e0d86291 (patch)
tree650be267d4f8e45e195d192a1198590fc2b6f957 /post.php
parent11cecf8452d724b1a61e82292cff1cc16a5403e7 (diff)
parenta55760299c6777fc841a9990fa9b590b17663bb8 (diff)
Merge pull request #191 from nekomiko482/patch-1
BSD md5 output format compatibility fix
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];
}