Apparently James Hunts patch (which he provided a long time ago) is no longer covering it all. This followup patch also silences the "Script done ..." message when --quiet is used. Signed-off-by: Andreas Henriksson <andreas@xxxxxxxx> --- term-utils/script.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/term-utils/script.c b/term-utils/script.c index 21fb5af..2da7512 100644 --- a/term-utils/script.c +++ b/term-utils/script.c @@ -578,7 +578,8 @@ done(void) { char buf[BUFSIZ]; tvec = time((time_t *)NULL); my_strftime(buf, sizeof buf, "%c\n", localtime(&tvec)); - fprintf(fscript, _("\nScript done on %s"), buf); + if (!qflg) + fprintf(fscript, _("\nScript done on %s"), buf); if (close_stream(fscript) != 0) errx(EXIT_FAILURE, _("write error")); -- 2.0.0 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html