From 4302be791a5a04f89cb467ea89485cce58ef9f4d Mon Sep 17 00:00:00 2001 From: hahn <axel.hahn@iml.unibe.ch> Date: Tue, 16 Jun 2020 16:41:32 +0200 Subject: [PATCH] task#3869 - initial stuff for API deny timestamps in the future too. --- shellscripts/api-client.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shellscripts/api-client.sh b/shellscripts/api-client.sh index 25a88156..3b9256ea 100644 --- a/shellscripts/api-client.sh +++ b/shellscripts/api-client.sh @@ -56,7 +56,7 @@ function makeRequest(){ echo $apiMethod ${apiHost}${apiRequest} echo $line - if [ ! -z $secret ]; then + if [ ! -z "$secret" ]; then # --- date in http format LANG=en_EN -- GitLab