[Buildroot] [PATCH] post-image: Drop unneeded exit statement

Fabio Estevam festevam at gmail.com
Mon Aug 1 17:17:28 UTC 2016


From: Fabio Estevam <fabio.estevam at nxp.com>

There is no need for the 'exit' statement in the post-image scripts,
so just remove it.

Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
---
 board/freescale/imx25pdk/post-image.sh    | 2 --
 board/freescale/imx51evk/post-image.sh    | 2 --
 board/freescale/imx53loco/post-image.sh   | 2 --
 board/freescale/imx6ulevk/post-image.sh   | 2 --
 board/freescale/imx7dsdb/post-image.sh    | 2 --
 board/technexion/imx6ulpico/post-image.sh | 2 --
 6 files changed, 12 deletions(-)

diff --git a/board/freescale/imx25pdk/post-image.sh b/board/freescale/imx25pdk/post-image.sh
index 8757355..b4ac460 100755
--- a/board/freescale/imx25pdk/post-image.sh
+++ b/board/freescale/imx25pdk/post-image.sh
@@ -12,5 +12,3 @@ genimage \
   --inputpath "${BINARIES_DIR}" \
   --outputpath "${BINARIES_DIR}" \
   --config "${GENIMAGE_CFG}"
-
-exit $?
diff --git a/board/freescale/imx51evk/post-image.sh b/board/freescale/imx51evk/post-image.sh
index 8757355..b4ac460 100755
--- a/board/freescale/imx51evk/post-image.sh
+++ b/board/freescale/imx51evk/post-image.sh
@@ -12,5 +12,3 @@ genimage \
   --inputpath "${BINARIES_DIR}" \
   --outputpath "${BINARIES_DIR}" \
   --config "${GENIMAGE_CFG}"
-
-exit $?
diff --git a/board/freescale/imx53loco/post-image.sh b/board/freescale/imx53loco/post-image.sh
index 8757355..b4ac460 100755
--- a/board/freescale/imx53loco/post-image.sh
+++ b/board/freescale/imx53loco/post-image.sh
@@ -12,5 +12,3 @@ genimage \
   --inputpath "${BINARIES_DIR}" \
   --outputpath "${BINARIES_DIR}" \
   --config "${GENIMAGE_CFG}"
-
-exit $?
diff --git a/board/freescale/imx6ulevk/post-image.sh b/board/freescale/imx6ulevk/post-image.sh
index 8757355..b4ac460 100755
--- a/board/freescale/imx6ulevk/post-image.sh
+++ b/board/freescale/imx6ulevk/post-image.sh
@@ -12,5 +12,3 @@ genimage \
   --inputpath "${BINARIES_DIR}" \
   --outputpath "${BINARIES_DIR}" \
   --config "${GENIMAGE_CFG}"
-
-exit $?
diff --git a/board/freescale/imx7dsdb/post-image.sh b/board/freescale/imx7dsdb/post-image.sh
index 8757355..b4ac460 100755
--- a/board/freescale/imx7dsdb/post-image.sh
+++ b/board/freescale/imx7dsdb/post-image.sh
@@ -12,5 +12,3 @@ genimage \
   --inputpath "${BINARIES_DIR}" \
   --outputpath "${BINARIES_DIR}" \
   --config "${GENIMAGE_CFG}"
-
-exit $?
diff --git a/board/technexion/imx6ulpico/post-image.sh b/board/technexion/imx6ulpico/post-image.sh
index 8757355..b4ac460 100755
--- a/board/technexion/imx6ulpico/post-image.sh
+++ b/board/technexion/imx6ulpico/post-image.sh
@@ -12,5 +12,3 @@ genimage \
   --inputpath "${BINARIES_DIR}" \
   --outputpath "${BINARIES_DIR}" \
   --config "${GENIMAGE_CFG}"
-
-exit $?
-- 
1.9.1



More information about the buildroot mailing list