Skip to content

Don't throw an error if the file is a dangling symlink#1

Merged
CtrlC-Root merged 1 commit intoCtrlC-Root:masterfrom
lbt:master
Aug 21, 2023
Merged

Don't throw an error if the file is a dangling symlink#1
CtrlC-Root merged 1 commit intoCtrlC-Root:masterfrom
lbt:master

Conversation

@CtrlC-Root
Copy link
Owner

@CtrlC-Root CtrlC-Root commented Aug 21, 2023

This commit prevents the following error when there's a dangling
symlink in the tree being watched:

terminate called after throwing an instance of 'std::logic_error'
  what():  Could not stat file of unknown type
Aborted

Signed-off-by: David Greaves <david@greaves.com>
@CtrlC-Root CtrlC-Root self-assigned this Aug 21, 2023
@CtrlC-Root CtrlC-Root merged commit 8a72769 into CtrlC-Root:master Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants