1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

Fixes incompatibility with BSD's md5 output format.

fixes #190
This commit is contained in:
nekomiko482 2016-07-07 12:53:40 +03:00 committed by GitHub
parent 11cecf8452
commit a55760299c

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