summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-11-15 16:51:51 +0100
committerDaniel Mack <github@zonque.org>2015-11-15 16:51:51 +0100
commitf978cf31ec158674605c13cf3caf0dd6b7ea9a3b (patch)
tree7e5be2da798378bd61c208af0241bdf9a1faaa8a
parenteee15abcdb04ff2528409f82616216ae2e3b55ff (diff)
parentd986e364c4343240ef77b26a1c9c516f574f015d (diff)
Merge pull request #1896 from phomes/install-wrong-enum
install: don't mix state and type enums
-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 9b6464ba9d..17e03e59cd 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -942,7 +942,7 @@ static int unit_file_load(
if (fstat(fd, &st) < 0)
return -errno;
if (null_or_empty(&st)) {
- info->type = UNIT_FILE_MASKED;
+ info->type = UNIT_FILE_TYPE_MASKED;
return 0;
}
if (S_ISDIR(st.st_mode))