Merge pull request #191 from nekomiko482/patch-1

BSD md5 output format compatibility fix
This commit is contained in:
Marcin Łabanowski 2016-07-08 05:45:18 +02:00 committed by GitHub
commit 7bec8a0a85

View File

@ -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];
}