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 <[email protected]> --- 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 49ccf04cacc8..0ab4a64dccb6 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 ec3320d3f573..d52d9df7b085 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 "$@" } -- 2.52.0
