summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install.c b/src/shared/install.c
index fc1bf96207..560bb24a93 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -1162,7 +1162,7 @@ static int create_symlink(
free(dest);
- if (force)
+ if (!force)
return -EEXIST;
unlink(new_path);