provide a message when the OTA is skipped (#255)

Closes #249
This commit is contained in:
Simon Holzmayer 2018-11-20 15:57:58 +01:00 committed by Pascal Vizeli
parent 404efdee52
commit 2435ca9065

View File

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