K
K
ksvdon2016-03-30 22:07:57
linux
ksvdon, 2016-03-30 22:07:57

Error importing function definition, who faced?

I have a separate script with functions. It looks like this:

function som_func
{
бла бла бла
}

several functions are described in this way, and at the end of the file:
export -f som_func
everything was gorgeous and then at one moment for one of the functions it writes this:
/bin/bash: error importing function definition for `BASH_FUNC_som_func'

why - I can’t understand. everything is done the same way according to one template ...
Who came across? What could be the reasons?
ps this nonsense is only on centos5. On centos6,7 everything is fine with the same script...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question