From d8bea82f2fc1a51972d930b62daa75fade970d5e Mon Sep 17 00:00:00 2001 From: Zurab Kvachadze Date: Sun, 8 Feb 2026 20:01:54 +0100 Subject: [PATCH] nginx{,-module}.eclass: Return 0 in econf_ngx() if $1 == --help Previously, contrary to what was written, the function exited with the exit code of ./configure (which is 1 if --help is passed). This commit makes the function return 0 explicitly. Signed-off-by: Zurab Kvachadze Signed-off-by: Sam James --- eclass/nginx-module.eclass | 2 +- eclass/nginx.eclass | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/nginx-module.eclass b/eclass/nginx-module.eclass index 49ccf04cacc89..0ab4a64dccb6b 100644 --- a/eclass/nginx-module.eclass +++ b/eclass/nginx-module.eclass @@ -115,7 +115,7 @@ econf_ngx() { # # Executing this without edo gets rid of the "Failed to run" message. ./configure "$@" - return + return 0 fi edo ./configure "$@" } diff --git a/eclass/nginx.eclass b/eclass/nginx.eclass index ec3320d3f573f..d52d9df7b0855 100644 --- a/eclass/nginx.eclass +++ b/eclass/nginx.eclass @@ -273,7 +273,7 @@ econf_ngx() { # # Executing this without edo gets rid of the "Failed to run" message. ./configure "$@" - return + return 0 fi edo ./configure "$@" }