diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/DatabasePrint.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/DatabasePrint.cxx b/src/DatabasePrint.cxx index 7b5975275..ef7ba825b 100644 --- a/src/DatabasePrint.cxx +++ b/src/DatabasePrint.cxx @@ -46,7 +46,9 @@ PrintDirectoryFull(Client &client, const Directory &directory) { if (!directory.IsRoot()) { client_printf(client, "directory: %s\n", directory.GetPath()); - time_print(client, "Last-Modified", directory.mtime); + + if (directory.mtime > 0) + time_print(client, "Last-Modified", directory.mtime); } return true; |