diff options
Diffstat (limited to 'src/get_hkl.c')
-rw-r--r-- | src/get_hkl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c index 5edfa088..6fc262a4 100644 --- a/src/get_hkl.c +++ b/src/get_hkl.c @@ -416,6 +416,10 @@ int main(int argc, char *argv[]) } input = read_reflections(input_file); + if (input == NULL) { + ERROR("Problem reading input file %s\n",input_file); + return 1; + } free(input_file); if ( check_list_symmetry(input, mero) ) { ERROR("The input reflection list does not appear to" |