get_real_instance_domain.sh: Fix optional curl arguments.
This commit is contained in:
parent
1514ecf12b
commit
afce4cdea3
|
@ -4,7 +4,7 @@
|
||||||
# running on <Your host> with access logging activated in order for this to
|
# running on <Your host> with access logging activated in order for this to
|
||||||
# work.
|
# work.
|
||||||
|
|
||||||
# Version: 2019-08-17_1
|
# Version: 2020-06-08_1
|
||||||
|
|
||||||
if [ -z "${2}" ]; then
|
if [ -z "${2}" ]; then
|
||||||
echo "Usage: ${0} <Your host> <Remote host> [additional curl options]" >&2
|
echo "Usage: ${0} <Your host> <Remote host> [additional curl options]" >&2
|
||||||
|
@ -13,6 +13,7 @@ fi
|
||||||
|
|
||||||
your_host="${1}"
|
your_host="${1}"
|
||||||
remote_host="${2}"
|
remote_host="${2}"
|
||||||
|
shift 2
|
||||||
|
|
||||||
if command -v md5sum > /dev/null; then
|
if command -v md5sum > /dev/null; then
|
||||||
uuid="$(date | md5sum | cut -d' ' -f 1)"
|
uuid="$(date | md5sum | cut -d' ' -f 1)"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user