But each time the replay is OK, no matter if the configuration file has some errors or doesn't have any.
Therefore, does anybody have any idea how to check if the configuration file is OK and after that, how to transfer the result to Bash script?