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 <zurabid2016@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Zurab Kvachadze
2026-02-20 19:09:33 +00:00
committed by Sam James
parent 234737cc63
commit d8bea82f2f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 "$@"
}
+1 -1
View File
@@ -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 "$@"
}