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

This commit is contained in:
Michal Schmidt 2012-05-15 08:12:49 +02:00
parent 990478a0ef
commit ba49b4a1a2

View file

@ -1162,7 +1162,7 @@ static int create_symlink(
free(dest);
if (force)
if (!force)
return -EEXIST;
unlink(new_path);