SONAR-4898 set exit code