[Bug 811] New: Avoid messages when quiet

bugzilla at busybox.net bugzilla at busybox.net
Sun Dec 13 22:02:56 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=811

           Summary: Avoid messages when quiet
           Product: Busybox
           Version: 1.15.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: r.schwebel at pengutronix.de
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Created an attachment (id=839)
 --> (https://bugs.busybox.net/attachment.cgi?id=839)
patch

I've tried to use busybox with CONFIG_FEATURE_EXTRA_QUIET, but init's
startup banner does still appear. I don't understand the intended logic
behind the sniplet patched below: it is in an 'else' part that is only
executed if the syslog feature is not enabled; why should something
printed out differently if syslog is not enabled?

So this patch removes the duplicate full_write and delegates it to the
normal one.

The second part of the patch changes the file descriptor to stdout
instead of stderr. Init doesn't print out errors.

Signed-off-by: Robert Schwebel <r.schwebel at pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
Signed-off-by: Ladislav Michl <ladis at linux-mips.org>


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list