From: Peter Korsgaard Date: Tue, 04 Feb 2020 14:48:46 +0100 Subject: [Buildroot] [PATCH v3 4/8] package/mariadb: fix potential error message in sysv startup script In-Reply-To: <20200204012200.7273-4-bluemrp9@gmail.com> (Ryan Coe's message of "Mon, 3 Feb 2020 17:21:56 -0800") References: <20200204012200.7273-1-bluemrp9@gmail.com> <20200204012200.7273-4-bluemrp9@gmail.com> Message-ID: <875zgmlayp.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Ryan" == Ryan Coe writes: > In order to check if the initial database needs created, the startup > script calls ls -1 $MYSQL_LIB | wc -l to check the number of files in > the directory. If the directory does not exist, an error is printed. > We fix this by redirecting stderr to /dev/null for the ls call. > Signed-off-by: Ryan Coe > --- > Changes v2 -> v3: > - separate changes into seperate patches (suggested by Thomas) > Changes v1 -> v2: > - no change Committed, thanks. -- Bye, Peter Korsgaard