aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-publish.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r--src/fs/gnunet-publish.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c
index a0fd96829..0da1b7034 100644
--- a/src/fs/gnunet-publish.c
+++ b/src/fs/gnunet-publish.c
@@ -610,7 +610,14 @@ run (void *cls, char *const *args, const char *cfgfile,
610 if (GNUNET_OK != 610 if (GNUNET_OK !=
611 GNUNET_CONFIGURATION_get_value_string (cfg, "FS", "EXTRACTORS", &ex)) 611 GNUNET_CONFIGURATION_get_value_string (cfg, "FS", "EXTRACTORS", &ex))
612 ex = NULL; 612 ex = NULL;
613 613 if (0 != ACCESS (args[0], R_OK))
614 {
615 FPRINTF (stderr,
616 _("Failed to access `%s': %s\n"),
617 args[0],
618 STRERROR (errno));
619 return;
620 }
614 ds = GNUNET_FS_directory_scan_start (args[0], 621 ds = GNUNET_FS_directory_scan_start (args[0],
615 disable_extractor, 622 disable_extractor,
616 ex, 623 ex,