MDEV-20205 mysql_install_db shouldn't execute chown

Make chown error non-fatal. Just print a warning.
This commit is contained in:
Sergei Golubchik 2020-01-15 22:40:56 +01:00
parent 9d18b62467
commit 51a9571256

View File

@ -497,7 +497,7 @@ then
then then
echo "Cannot change ownership of the '$pamtooldir/auth_pam_tool_dir' directory" echo "Cannot change ownership of the '$pamtooldir/auth_pam_tool_dir' directory"
echo "to the '$user' user. Check that you have the necessary permissions and try again." echo "to the '$user' user. Check that you have the necessary permissions and try again."
exit 1 echo
fi fi
args="$args --user=$user" args="$args --user=$user"
fi fi