From 2435ca9065a0ce80ac5091c8c24363cdbff048e0 Mon Sep 17 00:00:00 2001 From: Simon Holzmayer Date: Tue, 20 Nov 2018 15:57:58 +0100 Subject: [PATCH] provide a message when the OTA is skipped (#255) Closes #249 --- buildroot-external/scripts/ota.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildroot-external/scripts/ota.sh b/buildroot-external/scripts/ota.sh index c33aeb414..93fdba02a 100755 --- a/buildroot-external/scripts/ota.sh +++ b/buildroot-external/scripts/ota.sh @@ -10,8 +10,9 @@ function create_ota_update() { local key="/build/key.pem" local cert="/build/cert.pem" - # Skeep if no dev key is arround + # Skip if no dev key is arround if [ ! -f "${key}" ]; then + echo "Skip creating OTA update because of missing key ${key}" return 0 fi