mirror of
https://github.com/systemd/systemd.git
synced 2026-08-07 08:30:57 +00:00
vmspawn: Add missing error logging
This commit is contained in:
committed by
Lennart Poettering
parent
324fab7ed6
commit
2fcf963273
@@ -3103,7 +3103,7 @@ static int run_virtual_machine(int kvm_device_fd, int vhost_device_fd) {
|
||||
&tree_local_lock,
|
||||
&snapshot_directory);
|
||||
if (r < 0)
|
||||
return r;
|
||||
return log_error_errno(r, "Failed to create ephemeral snapshot of '%s': %m", arg_directory);
|
||||
|
||||
arg_directory = strdup(snapshot_directory);
|
||||
if (!arg_directory)
|
||||
|
||||
Reference in New Issue
Block a user