mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 12:41:50 +02:00
Fix for docker_installer.py
The `is_docker_ready` function passes an invalid argument to `exec_dangerzone_container`. The passed argument contains a dash instead of an underscore. This creates the logic situation wherein the UI states that Docker is not installed on Linux derivatives and also issues a `Failed to start docker service` command line error.
This commit is contained in:
parent
7acc6ebafa
commit
b26e71adcc
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def is_docker_installed(global_common):
|
||||||
|
|
||||||
def is_docker_ready(global_common):
|
def is_docker_ready(global_common):
|
||||||
# Run `docker image ls` without an error
|
# Run `docker image ls` without an error
|
||||||
with global_common.exec_dangerzone_container(["image-ls"]) as p:
|
with global_common.exec_dangerzone_container(["image_ls"]) as p:
|
||||||
p.communicate()
|
p.communicate()
|
||||||
|
|
||||||
# The user canceled, or permission denied
|
# The user canceled, or permission denied
|
||||||
|
|
Loading…
Reference in a new issue