mhallin / notify-forwarder

Simple tool that can forward file system events to other machine, such as virtual machines with shared folders
112 stars 21 forks source link

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

Open lbt opened 3 years ago

lbt commented 3 years ago

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