aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/command/FileCommands.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/FileCommands.cxx b/src/command/FileCommands.cxx
index 1e0f9c585..f1cb72c99 100644
--- a/src/command/FileCommands.cxx
+++ b/src/command/FileCommands.cxx
@@ -111,6 +111,8 @@ handle_listfiles_local(Client &client, const char *path_utf8)
} else if (S_ISDIR(st.st_mode))
client_printf(client, "directory: %s\n",
name_utf8.c_str());
+ else
+ continue;
time_print(client, "Last-Modified", st.st_mtime);
}