aboutsummaryrefslogtreecommitdiff
path: root/src/stasis_indexer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stasis_indexer.c')
-rw-r--r--src/stasis_indexer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stasis_indexer.c b/src/stasis_indexer.c
index ef6375b..8ee575e 100644
--- a/src/stasis_indexer.c
+++ b/src/stasis_indexer.c
@@ -381,7 +381,9 @@ int indexer_make_website(struct Delivery *ctx) {
char link_dest[PATH_MAX] = {0};
strcpy(link_from, "README.html");
sprintf(link_dest, "%s/%s", root, "index.html");
- symlink(link_from, link_dest);
+ if (symlink(link_from, link_dest)) {
+ SYSERROR("Warning: symlink(%s, %s) failed: %s", link_from, link_dest, strerror(errno));
+ }
}
}
guard_strlist_free(&inputs);