diff options
Diffstat (limited to 'apply/state.py')
-rw-r--r-- | apply/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apply/state.py b/apply/state.py index 9dafe9d..12440a6 100644 --- a/apply/state.py +++ b/apply/state.py @@ -55,7 +55,7 @@ class FileState(Enum): @staticmethod def check_location(path: Path) -> "FileState": if path.is_symlink(): - dest = Path(os.path.realpath(str(path))) + dest = Path(os.readlink(str(path))) if Path.cwd() in dest.parents: return FileState.create_owned(dest) |