mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-12 08:58:20 +03:00
install: don't mix state and type enums
from 0ec0deaa
This commit is contained in:
parent
eee15abcdb
commit
d986e364c4
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user