diff --git a/devlib/module/sched.py b/devlib/module/sched.py index c6ab3d4..e1d526d 100644 --- a/devlib/module/sched.py +++ b/devlib/module/sched.py @@ -329,7 +329,7 @@ class SchedProcFSData(SchedProcFSNode): except TargetStableError: return False - cpus = target.list_directory(path) + cpus = target.list_directory(path, as_root=target.is_rooted) if not cpus: return False