mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
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:
@@ -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
@@ -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 "$@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user