[services] fix target_env adjustment
This commit is contained in:
parent
481b283602
commit
43438b633c
@ -53,7 +53,7 @@ def run():
|
|||||||
libcalamares.utils.debug("systemctl enable call in chroot returned error code {}".format(ec))
|
libcalamares.utils.debug("systemctl enable call in chroot returned error code {}".format(ec))
|
||||||
|
|
||||||
for dbl in disable:
|
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 ec != 0:
|
||||||
if dbl['mandatory']:
|
if dbl['mandatory']:
|
||||||
|
Loading…
Reference in New Issue
Block a user