aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-07-23 12:55:49 +0200
committerThomas White <taw@physics.org>2021-07-23 12:55:49 +0200
commit59a71ac184a8a4eb09058899259669dfceb6c9bc (patch)
tree28269d130bb2fb5c7f0a09832ebe2d9cad2f8cea /src
parent15e5de04dee4e3af0effc9942fc08cdc124b747b (diff)
indexamajig: Fix retry if file can't be opened with --wait-for-file
Diffstat (limited to 'src')
-rw-r--r--src/process_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process_image.c b/src/process_image.c
index fa017710..ced21911 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -174,7 +174,7 @@ static struct image *file_wait_open_read(const char *filename,
return NULL;
}
- } while ( r );
+ } while ( image == NULL );
return image;
}