diff --git a/bin/pdm-launch b/bin/pdm-launch index e3bca09..d217539 100755 --- a/bin/pdm-launch +++ b/bin/pdm-launch @@ -37,7 +37,7 @@ else name=$image fi -if [[ $FLAGS_config == $FLAGS_TRUE ]]; then +if [[ $FLAGS_config -eq $FLAGS_TRUE ]]; then echo "Getting deploy options from image metadata label \"$FLAGS_label\" ..." deployopts=$(podman image inspect -f "{{ .Config.Labels.${FLAGS_label} }}" $image) if [[ $deployopts == "" ]]; then @@ -48,7 +48,7 @@ else deployopts="" fi -if [[ $FLAGS_overwrite ]]; then +if [[ $FLAGS_overwrite -eq $FLAGS_TRUE ]]; then podman rm -i -f $name fi