AliRelVal: fixed exit codes of some funcions