diff options
Diffstat (limited to 'src/librc-depend.c')
-rw-r--r-- | src/librc-depend.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librc-depend.c b/src/librc-depend.c index 93cc1f5c..f9b9bcd7 100644 --- a/src/librc-depend.c +++ b/src/librc-depend.c @@ -520,8 +520,10 @@ static bool is_newer_than (const char *file, const char *target) return (false); mtime = buf.st_mtime; + /* Of course we are newever than targets that don't exist + Such as broken symlinks */ if (stat (target, &buf) != 0) - return (false); + return (true); if (mtime < buf.st_mtime) return (false); |