install: fix inverted meaning of '--force' in systemctl enable

This commit is contained in:
Michal Schmidt
2012-05-15 08:13:29 +02:00
parent 990478a0ef
commit ba49b4a1a2
+1 -1
View File
@@ -1162,7 +1162,7 @@ static int create_symlink(
free(dest);
if (force)
if (!force)
return -EEXIST;
unlink(new_path);