aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-12-04 16:52:55 +0100
committerThomas White <taw@physics.org>2012-12-04 16:52:55 +0100
commit7a00b4852ca85d6c2153edfbf8ca9cb77a5ed04a (patch)
treea9fdbdbac8275c84f899dccf26980910b20c9031 /scripts
parent6fc63aea29baa683d987996c0d4159ff1105c260 (diff)
scripts/gen-sfs-ano: Check exit status of get_hkl
Diffstat (limited to 'scripts')
-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