aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/filesystem.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/wsutil/filesystem.c b/wsutil/filesystem.c
index f1fb58805f..2785ca6baf 100644
--- a/wsutil/filesystem.c
+++ b/wsutil/filesystem.c
@@ -2115,9 +2115,7 @@ get_persconffile_path(const char *filename, gboolean from_profile)
char *
get_datafile_path(const char *filename)
{
- if (running_in_build_directory_flag &&
- (!strcmp(filename, "AUTHORS-SHORT") ||
- !strcmp(filename, "hosts"))) {
+ if (running_in_build_directory_flag && !strcmp(filename, "hosts")) {
/* We're running in the build directory and the requested file is a
* generated (or a test) file. Return the file name in the build
* directory (not in the source/data directory).