Detect python3

fixes https://github.com/k8snetworkplumbingwg/multus-cni/issues/880
This commit is contained in:
Chris Plock
2022-07-15 15:13:27 -07:00
committed by GitHub
parent 70c970cd6e
commit ac6757b9cc

View File

@@ -83,7 +83,7 @@ function warn()
log "WARN: {$1}"
}
if ! type python3 &> /dev/null; then
if type python3 &> /dev/null; then
alias python=python3
fi