Skip to content

Commit

Permalink
fix: default env var to empty
Browse files Browse the repository at this point in the history
  • Loading branch information
tthvo committed Oct 11, 2024
1 parent 5f9c683 commit f095232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ main() {
use_fallback_script
fi

if [[ -n "$ENABLE_PODMAN_API" && "$ENABLE_PODMAN_API" == "true" ]]; then
if [[ "${ENABLE_PODMAN_API:-}" == "true" ]]; then
enable_podman_api
fi
}
Expand Down

0 comments on commit f095232

Please sign in to comment.