summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install.c b/src/shared/install.c
index 3289b51f41..8fc9205107 100644
--- 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;