diff --git a/lib/rbpkg.rb b/lib/rbpkg.rb
index 9c39a6a..fa021dc 100644
--- a/lib/rbpkg.rb
+++ b/lib/rbpkg.rb
@@ -255,7 +255,7 @@ module Rbpkg
c = "#{sh_quote(sha256)} #{sh_quote(path)} | cut -d ' ' -f 1"
r = `#{c}`
raise "#{sha256} #{path.inspect} failed" unless $?.success?
- return "SHA256 (#{path}) = #{r}\n"
+ return "SHA256 (#{path}) = #{r}"
end
c = "#{sh_quote(sha256)} #{sh_quote(path)}"
verbose(1, c)