Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hashicorp-vault/renew-ssh-host-certificate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ hostRole=$( jq -r .hostRole "$config_file" )
appRole=$( jq -r .appRole "$config_file" )

# Ensure variables are set
if [[ -z "$server" || -z "$appRole" || -z "$roleid" || -z "$sshEnginePath" || -z "$hostRole" ]]; then
if [[ "$server" == "null" || "$appRole" == "null" || "$roleid" == "null" || "$sshEnginePath" == "null" || "$hostRole" == "null" ]]; then
echo "Error: One or more variables are not set in the configuration file!"
exit 3
fi
Expand Down