mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
parent
a8b10efaec
commit
3612fbc1e4
@ -528,6 +528,8 @@ static int write_one_file(Item *i, const char *path) {
|
||||
}
|
||||
}
|
||||
|
||||
close_nointr_nofail(fd);
|
||||
|
||||
if (stat(path, &st) < 0) {
|
||||
log_error("stat(%s) failed: %m", path);
|
||||
return -errno;
|
||||
|
Loading…
Reference in New Issue
Block a user