diff options
Diffstat (limited to 'apply/state.py')
-rw-r--r-- | apply/state.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apply/state.py b/apply/state.py index 12440a6..2e9205c 100644 --- a/apply/state.py +++ b/apply/state.py @@ -58,6 +58,8 @@ class FileState(Enum): dest = Path(os.readlink(str(path))) if Path.cwd() in dest.parents: return FileState.create_owned(dest) + else: + return FileState.Used if not path.exists(): return FileState.Unused |