Commit 192a8166 authored by Jørgen Lien Sellæg's avatar Jørgen Lien Sellæg
Browse files

group calls

parent 42b9cf0c
......@@ -24,8 +24,6 @@ function check_args {
fi
}
check_args
function update_needed {
local registered_ip=$(dig +short ${DOMAIN})
local current_ip="$1"
......@@ -44,5 +42,6 @@ function update_dns {
return 0
}
update_dns
check_args \
&& update_dns
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment