}
pret = read_file_type_description(datafile, &mdata->file_description);
- if (pret != PARSE_OK)
+ if (pret != PARSE_OK) {
+ ret = HPCS_E_PARSE_ERROR;
goto out;
+ }
if (!file_type_description_is_readable(mdata->file_description)) {
PR_DEBUGF("Incompatible file description: %s\n", mdata->file_description);
}
pret = read_file_type_description(datafile, &mdata->file_description);
- if (pret != PARSE_OK)
+ if (pret != PARSE_OK) {
+ ret = HPCS_E_PARSE_ERROR;
goto out;
+ }
if (!file_type_description_is_readable(mdata->file_description)) {
PR_DEBUGF("Incompatible file description: %s\n", mdata->file_description);