From 072b0f81cdc177ec487ec14be5b86806aecf9a59 Mon Sep 17 00:00:00 2001 From: Parthkrishnan <69578065+Parthkrishnan@users.noreply.github.com> Date: Thu, 1 Oct 2020 00:24:13 +0530 Subject: [PATCH] Update ota-print-link.sh --- ota-print-link.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ota-print-link.sh b/ota-print-link.sh index 88696a2..65f412e 100644 --- a/ota-print-link.sh +++ b/ota-print-link.sh @@ -4,7 +4,7 @@ # given SHA512 checksum of this ota-installation -## Check for correct input +## Check for correct input here. [ -z "$1" ] || [ $# -ne 1 ] \ && echo "Usage: $0 " \ && exit 1 @@ -98,7 +98,7 @@ do && echo "Link is valid until "$(date -d @$(($(echo $fileInDatabase | awk -F ' ' '{print $4}') + $MAX_SECONDS_UNTIL_DELETION))) done -# Check success of the process to obtain the links +# Check success of the process to obtain the links. [ $? -ne 0 ] \ && echo "Error: Could not print link to file." \ && tail $PATH_TO_LOG_FILE \