From d7418e80c209d7503688adc8825ee34365f19a2d Mon Sep 17 00:00:00 2001 From: Artem Smirnov Date: Thu, 23 Aug 2018 20:34:15 +0300 Subject: [PATCH] image_builder: success if success --- image_builder/image_config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image_builder/image_config.sh b/image_builder/image_config.sh index 18a06f9b..0fb1eaac 100755 --- a/image_builder/image_config.sh +++ b/image_builder/image_config.sh @@ -36,8 +36,8 @@ get_image() { if [ ! -e "${BUILD_DIR}/${RPI_ZIP_NAME}" ]; then echo_stamp "1. Downloading original Linux distribution" - wget -nv -O ${BUILD_DIR}/${RPI_ZIP_NAME} $2 > /dev/null - echo_stamp "Downloading complete" "SUCCESS" + wget -nv -O ${BUILD_DIR}/${RPI_ZIP_NAME} $2 > /dev/null \ + && echo_stamp "Downloading complete" "SUCCESS" else echo_stamp "1. Linux distribution already donwloaded" fi