ebtables: add error handling to for loop

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni 2014-11-30 15:18:28 +01:00 committed by Peter Korsgaard
parent 5e7c364872
commit 93776d30fc
1 changed files with 1 additions and 1 deletions

View File

@ -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