Exit codes

Added exit status codes. It's a good idea If you want to check cluster nodes by monitoring systems for example Zabbix or nagios etc.