mirror of
https://github.com/tunix/digitalocean-dyndns
synced 2024-12-22 21:09:52 +00:00
Compare commits
2 commits
a21767ee62
...
339ad33f39
Author | SHA1 | Date | |
---|---|---|---|
|
339ad33f39 | ||
|
1205095230 |
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ die() {
|
|||
exit 1
|
||||
}
|
||||
|
||||
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