mirror of
https://github.com/systemd/systemd
synced 2024-10-14 20:17:52 +00:00
exec-invoke: pass the right error variable
This commit is contained in:
parent
ac10f7e28c
commit
6400084caa
|
@ -2896,7 +2896,7 @@ static int setup_ephemeral(
|
|||
*/
|
||||
r = chattr_fd(fd, FS_NOCOW_FL, FS_NOCOW_FL, NULL);
|
||||
if (r < 0)
|
||||
log_debug_errno(fd, "Failed to disable copy-on-write for %s, ignoring: %m", new_root);
|
||||
log_debug_errno(r, "Failed to disable copy-on-write for %s, ignoring: %m", new_root);
|
||||
} else {
|
||||
assert(*root_directory);
|
||||
|
||||
|
|
Loading…
Reference in a new issue