install: don't mix state and type enums

from 0ec0deaa
This commit is contained in:
Thomas Hindoe Paaboel Andersen 2015-11-15 14:43:46 +01:00
parent eee15abcdb
commit d986e364c4
1 changed files with 1 additions and 1 deletions

View File

@ -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))