From a55760299c6777fc841a9990fa9b590b17663bb8 Mon Sep 17 00:00:00 2001 From: nekomiko482 Date: Thu, 7 Jul 2016 12:53:40 +0300 Subject: [PATCH] Fixes incompatibility with BSD's md5 output format. fixes #190 --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }