fix check
This commit is contained in:
parent
041098ecde
commit
9f95e78277
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ do
|
||||||
DEST_GROUP=$(jq -r '.group' <<< $INTEGRATION)
|
DEST_GROUP=$(jq -r '.group' <<< $INTEGRATION)
|
||||||
DEST_MODE=$(jq -r '.mode' <<< $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 ~
|
cd ~
|
||||||
rm -rf "$REPO_NAME"
|
rm -rf "$REPO_NAME"
|
||||||
|
|
Loading…
Reference in a new issue