style: format

This commit is contained in:
Malte Tammena 2023-11-30 18:23:43 +01:00
parent ab3f72ace2
commit f1b4e09a7a
3 changed files with 63 additions and 63 deletions

View file

@ -1,4 +1,4 @@
#/usr/bin/env bash
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail

View file

@ -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