[displaymanager] error out the right way

This commit is contained in:
Philip 2017-06-28 10:41:00 +02:00
parent e57107187c
commit 38f5af3c82

View File

@ -473,8 +473,8 @@ def run():
greeter,
lightdm_conf_path
)
else:
return ("No lightdm greeter installed.")
else:
return ("No lightdm greeter installed.")
else:
libcalamares.utils.debug("lightdm selected but not installed")
displaymanagers.remove("lightdm")