diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-29 23:00:08 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-29 23:00:08 +0000 |
commit | c00b68b303ab419e001612699121db933b81f16b (patch) | |
tree | 672eda9e6b88f1cf6268f6bdb12e578e48ea399b /src/fs/gnunet-publish.c | |
parent | ef850e1b8b68a9a24155344c6b5c0f41942c8554 (diff) | |
download | gnunet-c00b68b303ab419e001612699121db933b81f16b.tar.gz gnunet-c00b68b303ab419e001612699121db933b81f16b.zip |
-misc fixes
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r-- | src/fs/gnunet-publish.c | 9 |
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, |