diff --git a/sync.c b/sync.c index 8b9c6b0..0f6b63d 100644 --- a/sync.c +++ b/sync.c @@ -2270,7 +2270,11 @@ int sync_prequeue_loadmark switch ( ctx_p->flags[MODE] ) { case MODE_SIMPLE: - return SAFE ( sync_dosync ( path_rel, event_mask, ctx_p, indexes_p ), debug ( 1, "fpath == \"%s\"; evmask == 0x%o", path_rel, event_mask ); return -1; ); + if ( path_full == NULL ) { + *path_buf_p = sync_path_rel2abs ( ctx_p, path_rel, -1, path_buf_len_p, *path_buf_p ); + path_full = *path_buf_p; + } + return SAFE ( sync_dosync ( path_full, event_mask, ctx_p, indexes_p ), debug ( 1, "fpath == \"%s\"; evmask == 0x%o", path_full, event_mask ); return -1; ); default: break;