Get return code