summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/sexp-conv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/sexp-conv.c b/tools/sexp-conv.c
index d4b152b6..99646031 100644
--- a/tools/sexp-conv.c
+++ b/tools/sexp-conv.c
@@ -362,7 +362,10 @@ main(int argc, char **argv)
{
sexp_convert_item(&parser, &token, &output, options.mode, 0);
if (options.hash)
- sexp_put_digest(&output);
+ {
+ sexp_put_digest(&output);
+ sexp_put_newline(&output, 0);
+ }
else if (options.mode != SEXP_CANONICAL)
sexp_put_newline(&output, 0);