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

Peter Korsgaard peter at korsgaard.com
Tue Feb 4 13:48:46 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)
 > Changes v1 -> v2:
 >   - no change

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list