style: format
This commit is contained in:
parent
ab3f72ace2
commit
f1b4e09a7a
|
@ -1,4 +1,4 @@
|
|||
#/usr/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#/usr/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
@ -59,15 +59,15 @@ while [[ $# -gt 0 ]]; do
|
|||
esac
|
||||
done
|
||||
|
||||
if [[ -z "$host" ]]; then
|
||||
if [[ -z $host ]]; then
|
||||
printf -- "--host required\n"
|
||||
print_help_and_exit
|
||||
elif [[ -z "$password_path" ]]; then
|
||||
elif [[ -z $password_path ]]; then
|
||||
printf -- "--password_path required\n"
|
||||
print_help_and_exit
|
||||
fi
|
||||
|
||||
if [[ "${#domain_names[@]}" -eq 0 ]]; then
|
||||
if [[ ${#domain_names[@]} -eq 0 ]]; then
|
||||
print_help_and_exit
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue