Fixes #4713: check-rudder-agent script is no longer sh/dash compatible due to function definition
Merge pull request #298 from jooooooon/bug_4713/check_rudder_agent_script_is_no_longer_sh_dash_compatible_due_to_function_definition

Fixes #4713: check-rudder-agent script is no longer sh/dash compatible d...