docker.py tests thanks @hroncok

This commit is contained in:
Fabrice Flore-Thébault 2020-06-15 14:49:33 +02:00
parent 12a40fdab2
commit dff7d60255

View file

@ -87,7 +87,6 @@ def _docker_is_rootless() -> bool:
# rootless podman has "rootless: true" # rootless podman has "rootless: true"
if line.strip().startswith('rootless'): if line.strip().startswith('rootless'):
if 'false' not in line: if 'false' not in line:
print(line)
return True return True
break break
return False return False