projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f9364f
)
install: fix errno handling
author
Lennart Poettering
<lennart@poettering.net>
Fri, 8 Apr 2016 15:59:52 +0000
(17:59 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 12 Apr 2016 11:43:32 +0000
(13:43 +0200)
src/shared/install.c
patch
|
blob
|
history
diff --git
a/src/shared/install.c
b/src/shared/install.c
index
3289b51
..
8fc9205
100644
(file)
--- a/
src/shared/install.c
+++ b/
src/shared/install.c
@@
-1600,7
+1600,7
@@
int unit_file_unmask(
return -ENOMEM;
if (unlink(path) < 0) {
- if (errno !=
-
ENOENT && r >= 0)
+ if (errno != ENOENT && r >= 0)
r = -errno;
continue;