From: Arvin Schnell Date: Fri, 7 Aug 2026 07:12:35 +0000 (+0200) Subject: - make sha256sum match command line tool (for "normal" files) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81bb248f3e7c6f64926de5172fb6c821d9b9ef68;p=thirdparty%2Fsnapper.git - make sha256sum match command line tool (for "normal" files) --- diff --git a/client/snbk/CmdMetaParse.cc b/client/snbk/CmdMetaParse.cc index 8b8fcb4a..527ac4f4 100644 --- a/client/snbk/CmdMetaParse.cc +++ b/client/snbk/CmdMetaParse.cc @@ -61,7 +61,8 @@ namespace snapper SN_THROW(Exception(_("Failed to load info.xml."))); } - content = boost::join(cmd.get_stdout(), "\n"); + if (!cmd.get_stdout().empty()) + content = boost::join(cmd.get_stdout(), "\n") + "\n"; y2mil(*this); }