- tools.helpers.run.root(args, command, check=False)
- helpers.mount.umount_all(args, "/sys/fs/cgroup/schedtune")
+ tools.helpers.run.user(args, command, check=False)
+ if os.path.ismount("/sys/fs/cgroup/schedtune"):
+ command = ["umount", "-l", "/sys/fs/cgroup/schedtune"]
+ tools.helpers.run.user(args, command, check=False)