Merge pull request #191 from nekomiko482/patch-1
BSD md5 output format compatibility fix
This commit is contained in:
commit
7bec8a0a85
2
post.php
2
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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user