mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-04-07 11:26:51 +00:00
adjusted to mysql password settings [no ci]
This commit is contained in:
parent
665e90b176
commit
5330318439
@ -23,6 +23,7 @@ if [ -z $HIRS_DB_PWD ]; then
|
||||
fi
|
||||
|
||||
# Set root password if not set
|
||||
|
||||
if mysql -u root -e 'quit' &> /dev/null; then
|
||||
echo "Setting root password"
|
||||
mysqladmin -u root --silent password $HIRS_MYSQL_ROOT_PWD || true > /dev/null 2>&1
|
||||
|
Loading…
x
Reference in New Issue
Block a user