Added newline to md5sum and sha256sum. Fixes #1275.

This commit is contained in:
Florian Nücke 2015-07-10 23:08:46 +02:00
parent 26eaf983f8
commit 3a930fa938
2 changed files with 2 additions and 2 deletions

View File

@ -22,6 +22,6 @@ else
read = read .. current read = read .. current
until current ~= "" until current ~= ""
file:close() file:close()
io.write(data.toHex(data.md5(read)) .. "\t".. args[i]) io.write(data.toHex(data.md5(read)) .. "\t".. args[i] .. "\n")
end end
end end

View File

@ -22,6 +22,6 @@ else
read = read .. current read = read .. current
until current ~= "" until current ~= ""
file:close() file:close()
io.write(data.toHex(data.sha256(read)) .. "\t".. args[i]) io.write(data.toHex(data.sha256(read)) .. "\t".. args[i] .. "\n")
end end
end end