From: Karel Zak Date: Mon, 31 Mar 2008 13:45:11 +0000 (+0200) Subject: Revert "script: improve quiet mode" X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ba1ca0d05bd35754e78b22ee470c9828b179c11;p=util-linux Revert "script: improve quiet mode" This reverts commit 7baec9a5612358559d1556113657223a64e373d1. Note, scriptreplay(8) expects the "Script started on.." line. We cannot remove this message... --- diff --git a/misc-utils/script.c b/misc-utils/script.c index b68f18c8..5f56f505 100644 --- a/misc-utils/script.c +++ b/misc-utils/script.c @@ -301,8 +301,7 @@ dooutput() { #endif tvec = time((time_t *)NULL); my_strftime(obuf, sizeof obuf, "%c\n", localtime(&tvec)); - if (!qflg) - fprintf(fscript, _("Script started on %s"), obuf); + fprintf(fscript, _("Script started on %s"), obuf); if (die == 0 && child && kill(child, 0) == -1 && errno == ESRCH) /*