demo: python binary detection fix

This commit is contained in:
Éloi Rivard 2021-10-27 20:55:04 +02:00
parent b03b81ff23
commit 5273ae1075

View file

@ -12,7 +12,7 @@ function usage {
}
function run {
if ! type python > /dev/null 2>&1; then
if ! type python > /dev/null 2>&1 && ! type python3 > /dev/null 2>&1; then
echo "Cannot start the LDAP server. Please install python on your system."
return 1
fi