diff options
-rw-r--r-- | src/partialator.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/partialator.c b/src/partialator.c index 605c8bcf..6c9748b6 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -394,8 +394,11 @@ int main(int argc, char *argv[]) RefList *list; list = read_reflections(reference_file); + if ( list == NULL ) { + ERROR("Failed to read '%s'\n", reference_file); + return 1; + } free(reference_file); - if ( list == NULL ) return 1; reference = asymmetric_indices(list, sym); reflist_free(list); have_reference = 1; |