From ba49b4a1a2497b9d3372d45ee1e43aec0c0d66f1 Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Tue, 15 May 2012 08:12:49 +0200 Subject: install: fix inverted meaning of '--force' in systemctl enable --- src/shared/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared') 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); -- cgit v1.2.3-54-g00ecf