diff options
author | Thomas White <taw@physics.org> | 2012-11-21 16:25:23 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-11-21 16:26:10 +0100 |
commit | 8c06fcfebab8bf67ee5674ced83942123964ff10 (patch) | |
tree | af6a7daaccfda5db0ea8f4726fbd9f4c399f99b9 /libcrystfel/src/dirax.c | |
parent | 92058254984777b4a7bec0142ad4dde7e86ccb44 (diff) |
Show error information if forkpty() fails
Diffstat (limited to 'libcrystfel/src/dirax.c')
-rw-r--r-- | libcrystfel/src/dirax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/dirax.c b/libcrystfel/src/dirax.c index 43de6c6e..b3a8f15d 100644 --- a/libcrystfel/src/dirax.c +++ b/libcrystfel/src/dirax.c @@ -473,7 +473,7 @@ void run_dirax(struct image *image) dirax->pid = forkpty(&dirax->pty, NULL, NULL, NULL); if ( dirax->pid == -1 ) { - ERROR("Failed to fork for DirAx\n"); + ERROR("Failed to fork for DirAx: %s\n", strerror(errno)); return; } if ( dirax->pid == 0 ) { |