diff options
author | Thomas White <taw@physics.org> | 2021-07-23 12:55:49 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-07-23 12:55:49 +0200 |
commit | 59a71ac184a8a4eb09058899259669dfceb6c9bc (patch) | |
tree | 28269d130bb2fb5c7f0a09832ebe2d9cad2f8cea /src | |
parent | 15e5de04dee4e3af0effc9942fc08cdc124b747b (diff) |
indexamajig: Fix retry if file can't be opened with --wait-for-file
Diffstat (limited to 'src')
-rw-r--r-- | src/process_image.c | 2 |
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; } |