fix check

This commit is contained in:
mwiegand 2022-03-13 18:31:03 +01:00
parent 041098ecde
commit 9f95e78277

View file

@ -18,7 +18,7 @@ do
DEST_GROUP=$(jq -r '.group' <<< $INTEGRATION)
DEST_MODE=$(jq -r '.mode' <<< $INTEGRATION)
[[ -z "$HOSTNAME" ]] || [[ -z "$DEST_PATH" ]] || [[ -z "$DEST_GROUP" ]] || [[ -z "$DEST_MODE" ]] && exit 5
[[ -z "$HOSTNAME" ]] || [[ -z "$DEST_PATH" ]] || [[ -z "$DEST_GROUP" ]] && exit 5
cd ~
rm -rf "$REPO_NAME"