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:
parent
5e7c364872
commit
93776d30fc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user