From 8513d3d937a497ef2d5024c964d960a0544d312b Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Sun, 31 Jul 2022 19:59:55 +0200 Subject: [PATCH] Revert syntax;Fix spacing --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index ed9131b..f75eda4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,7 +15,7 @@ steps: image: bv11-cr01.bessems.eu/proxy/alpine/curl commands: - | - if [ $(curl -s -o /dev/null -w "%{http_code}" https://code.spamasaurus.com/api/v1/packages/$GIT_USERNAME/generic/skopeo/$SKOPEO_VERSION) != '200']; then + if [[ $(curl -s -o /dev/null -w "%{http_code}" https://code.spamasaurus.com/api/v1/packages/$GIT_USERNAME/generic/skopeo/$SKOPEO_VERSION) -ne '200' ]]; then exit 0 else exit 1