Bash returns the error code. If a function/script returns "0", we don't have any error.
Will be improved.