From: Michal Schmidt Date: Tue, 15 May 2012 06:12:49 +0000 (+0200) Subject: install: fix inverted meaning of '--force' in systemctl enable X-Git-Tag: v183~110 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba49b4a1a2497b9d3372d45ee1e43aec0c0d66f1;p=systemd install: fix inverted meaning of '--force' in systemctl enable --- diff --git a/src/shared/install.c b/src/shared/install.c index fc1bf962..560bb24a 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);