mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
machined: fix writability check for GPT images
This commit is contained in:
parent
4a4d89b682
commit
51929718dd
@ -167,7 +167,7 @@ static int image_make(int dfd, const char *name, const char *path, Image **ret)
|
|||||||
r = image_new(IMAGE_GPT,
|
r = image_new(IMAGE_GPT,
|
||||||
name,
|
name,
|
||||||
path,
|
path,
|
||||||
!!(st.st_mode & 0111),
|
!!(st.st_mode & 0222),
|
||||||
timespec_load(&st.st_mtim),
|
timespec_load(&st.st_mtim),
|
||||||
0,
|
0,
|
||||||
ret);
|
ret);
|
||||||
|
Loading…
Reference in New Issue
Block a user