diff --git a/src/modules/displaymanager/main.py b/src/modules/displaymanager/main.py index b6d72bf73..ffee4b253 100644 --- a/src/modules/displaymanager/main.py +++ b/src/modules/displaymanager/main.py @@ -138,7 +138,7 @@ def set_autologin(username, displaymanagers, root_mount_point): if os.path.isfile(sddm_conf_path): print('SDDM config file exists') else: - check_chroot_call("sddm --example-config > etc/sddm.conf", shell=True) + subprocess.call("sddm --example-config > etc/sddm.conf", shell=True) text = [] with open(sddm_conf_path, 'r') as sddm_conf: text = sddm_conf.readlines()