This commit is contained in:
parent
ae1afb952f
commit
2090f83dac
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ die() {
|
|||
exit 1
|
||||
}
|
||||
|
||||
test -f "$DIGITALOCEAN_TOKEN_FILE" && DIGITALOCEAN_TOKEN="$(cat $DIGITALOCEAN_TOKEN_FILE)"
|
||||
test -f "${DIGITALOCEAN_TOKEN_FILE:-}" && DIGITALOCEAN_TOKEN="$(cat $DIGITALOCEAN_TOKEN_FILE)"
|
||||
test -z $DIGITALOCEAN_TOKEN && die "DIGITALOCEAN_TOKEN not set!"
|
||||
test -z $DOMAIN && die "DOMAIN not set!"
|
||||
test -z $NAME && die "NAME not set!"
|
||||
|
|
Loading…
Reference in a new issue