Skip to content

Commit

Permalink
Merge pull request savetheinternet#191 from nekomiko482/patch-1
Browse files Browse the repository at this point in the history
BSD md5 output format compatibility fix
  • Loading branch information
czaks authored Jul 8, 2016
2 parents 11cecf8 + a557602 commit 7bec8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post.php
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ function ipv4to6($ip) {
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];
}
Expand Down

0 comments on commit 7bec8a0

Please sign in to comment.