[Buildroot] [PATCH v3 4/8] package/mariadb: fix potential error message in sysv startup script

Peter Korsgaard peter at korsgaard.com
Tue Mar 10 20:30:56 UTC 2020


>>>>> "Ryan" == Ryan Coe <bluemrp9 at gmail.com> 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 <bluemrp9 at gmail.com>
 > ---
 > Changes v2 -> v3:
 >   - separate changes into seperate patches (suggested by Thomas)

Committed to 2019.02.x and 2019.11.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list