1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-11 04:58:19 +03:00

Merge pull request #1896 from phomes/install-wrong-enum

install: don't mix state and type enums
This commit is contained in:
Daniel Mack 2015-11-15 16:51:51 +01:00
commit f978cf31ec

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