chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
990478a
)
install: fix inverted meaning of '--force' in systemctl enable
author
Michal Schmidt
<mschmidt@redhat.com>
Tue, 15 May 2012 06:12:49 +0000
(08:12 +0200)
committer
Michal Schmidt
<mschmidt@redhat.com>
Tue, 15 May 2012 06:13:29 +0000
(08:13 +0200)
src/shared/install.c
patch
|
blob
|
history
diff --git
a/src/shared/install.c
b/src/shared/install.c
index fc1bf9620705c5c6a13fcc58e8e6a63d75223d9e..560bb24a93762f3a866d6abfa531fbcffa68e174 100644
(file)
--- 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);