From 93776d30fc921c959b6d9bd11e32bd51704f0e46 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 30 Nov 2014 15:18:28 +0100 Subject: [PATCH] ebtables: add error handling to for loop Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/ebtables/ebtables.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/ebtables/ebtables.mk b/package/ebtables/ebtables.mk index 578c3ae805..23c462874e 100644 --- a/package/ebtables/ebtables.mk +++ b/package/ebtables/ebtables.mk @@ -28,7 +28,7 @@ define EBTABLES_INSTALL_TARGET_CMDS $(@D)/$(EBTABLES_SUBDIR)/extensions/*.so; \ do \ $(INSTALL) -m 0755 -D $${so} \ - $(TARGET_DIR)/lib/ebtables/`basename $${so}`; \ + $(TARGET_DIR)/lib/ebtables/`basename $${so}` || exit 1; \ done $(INSTALL) -m 0755 -D $(@D)/$(EBTABLES_SUBDIR)/ebtables \ $(TARGET_DIR)/sbin/ebtables -- 2.30.2