summaryrefslogtreecommitdiff
path: root/src/fr-archive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-archive.c')
-rw-r--r--src/fr-archive.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fr-archive.c b/src/fr-archive.c
index 87acc03..0758acf 100644
--- a/src/fr-archive.c
+++ b/src/fr-archive.c
@@ -1370,7 +1370,8 @@ create_tmp_base_dir (const char *base_dir,
dir = g_build_filename (temp_dir, "/", dest_dir, NULL);
debug (DEBUG_INFO, "symlink %s --> %s\n", dir, base_dir);
- symlink (base_dir, dir);
+ if (! symlink (base_dir, dir))
+ /* void */;
g_free (dir);
g_free (dest_dir);