diff options
author | Thomas White <taw@physics.org> | 2012-12-04 16:52:55 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-12-04 16:52:55 +0100 |
commit | 7a00b4852ca85d6c2153edfbf8ca9cb77a5ed04a (patch) | |
tree | a9fdbdbac8275c84f899dccf26980910b20c9031 | |
parent | 6fc63aea29baa683d987996c0d4159ff1105c260 (diff) |
scripts/gen-sfs-ano: Check exit status of get_hkl
-rwxr-xr-x | scripts/gen-sfs-ano | 1 |
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 |