diff options
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -416,7 +416,7 @@ delete_target (file, on_behalf_of) } #endif - if (stat (file->name, &st) == 0 + if (safe_stat (file->name, &st) == 0 && S_ISREG (st.st_mode) && (time_t) st.st_mtime != file->last_mtime) { |