[postcfg] make sure call is from subprocess

This commit is contained in:
Philip Müller 2019-08-04 09:30:48 +02:00
parent 147e6fb580
commit 0da1cce660

View File

@ -63,10 +63,10 @@ class ConfigController:
target_env_call(['pacman', '-R', '--noconfirm', pkg]) target_env_call(['pacman', '-R', '--noconfirm', pkg])
def umount(self, mp): def umount(self, mp):
call(["umount", "-l", join(self.root, mp)]) subprocess.call(["umount", "-l", join(self.root, mp)])
def mount(self, mp): def mount(self, mp):
call(["mount", "-Br", "/" + mp, join(self.root, mp)]) subprocess.call(["mount", "-Br", "/" + mp, join(self.root, mp)])
def run(self): def run(self):
self.init_keyring() self.init_keyring()