summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-05-15 08:12:49 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-05-15 08:13:29 +0200
commitba49b4a1a2497b9d3372d45ee1e43aec0c0d66f1 (patch)
tree3702abc796e08758e109d9f67c86313166f5cf72 /src
parent990478a0ef17c59a29a644c3b2efaca2db66021e (diff)
install: fix inverted meaning of '--force' in systemctl enable
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);