From 59a71ac184a8a4eb09058899259669dfceb6c9bc Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 23 Jul 2021 12:55:49 +0200 Subject: indexamajig: Fix retry if file can't be opened with --wait-for-file --- src/process_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3