Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Submitted By: Sergio Gutierrez (saguti)
Assigned to: Nobody/Anonymous (nobody)
Summary: Avoid usage of unsupported grep option in db script
At charset_test() in opensipsdbctl.mysql script. grep is called with an option which is not supported by standard grep in Solaris.
This patch proposes a different approach for that case; it defines a variable which counts how many times user has failed in passing a supported charset; after 3 tries, script exits with error code of 1.