mirror of
https://github.com/systemd/systemd
synced 2024-10-14 20:17:52 +00:00
nspawn: pass the right error variable
This commit is contained in:
parent
3613a1d49f
commit
192a452d1c
|
@ -2668,7 +2668,7 @@ static int setup_journal(const char *directory) {
|
|||
|
||||
r = mount_nofollow_verbose(LOG_DEBUG, p, q, NULL, MS_BIND, NULL);
|
||||
if (r < 0)
|
||||
return log_error_errno(errno, "Failed to bind mount journal from host into guest: %m");
|
||||
return log_error_errno(r, "Failed to bind mount journal from host into guest: %m");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue