[services] fix target_env adjustment

main
Philip 9 years ago committed by Teo Mrnjavac
parent 481b283602
commit 43438b633c

@ -53,7 +53,7 @@ def run():
libcalamares.utils.debug("systemctl enable call in chroot returned error code {}".format(ec))
for dbl in disable:
ec = libcalamares.utils.chroot_call(['systemctl', 'disable', '{}.service'.format(dbl['name'])])
ec = libcalamares.utils.target_env_call(['systemctl', 'disable', '{}.service'.format(dbl['name'])])
if ec != 0:
if dbl['mandatory']:

Loading…
Cancel
Save