mirror of
https://github.com/OISF/suricata.git
synced 2026-10-12 02:07:10 +00:00
rust: fail check-bindgen-bindings if bindgen fails
Even on failure before, due to the ';', the make target was still exiting success.
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ check-bindgen-bindings:
|
||||
if HAVE_BINDGEN
|
||||
if test "$(top_srcdir)" = "$(top_builddir)"; then \
|
||||
cp sys/src/sys.rs sys/src/sys.rs.orig; \
|
||||
$(MAKE) update-bindings; \
|
||||
$(MAKE) update-bindings || exit 1; \
|
||||
if diff sys/src/sys.rs sys/src/sys.rs.orig > /dev/null 2>&1; then \
|
||||
rm -f sys/src/sys.rs.orig; \
|
||||
else \
|
||||
|
||||
Reference in New Issue
Block a user