diff --git a/toa.py b/toa.py index 23bfa2f..a1811dc 100644 --- a/toa.py +++ b/toa.py @@ -28,7 +28,7 @@ class UserOption: def get_current_cgroup(): if os.path.exists('/sys/fs/cgroup/unified/'): - return '/sys/fs/cgroup/unified' + return '/sys/fs/cgroup/unified/' with open('/proc/self/cgroup', 'r') as file: lines = file.readlines() @@ -134,4 +134,4 @@ Usage: attach_bpf(new_bpf_content,cgroup) elif args.method == 'detach': - detach_bpf(cgroup) \ No newline at end of file + detach_bpf(cgroup)