aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/gen-sfs-ano1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gen-sfs-ano b/scripts/gen-sfs-ano
index b8406641..1b2e8374 100755
--- a/scripts/gen-sfs-ano
+++ b/scripts/gen-sfs-ano
@@ -76,6 +76,7 @@ printf("End of reflections\n");
WIBBLE
get_hkl -i ${PDB}-temp2.hkl -o ${PDB}.hkl -y ${PG} --trim-centrics
+if [ $? -ne 0 ]; then exit 1; fi
rm -f ${PDB}-temp1.hkl
rm -f ${PDB}-temp2.hkl