Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/tup/path.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ static int watch_path_internal(tupid_t dt, const char *file,
struct flist f = FLIST_INITIALIZER;
struct stat buf;

if(file[0] == '.' && file[1])
return 0;

if(lstat(file, &buf) != 0) {
if(errno == ENOENT) {
/* The file may have been created and then removed before
Expand Down