diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-01-12 16:02:29 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-01-12 16:04:05 +0100 |
commit | b71855b331005e2a21e75e1868a933221d6794d9 (patch) | |
tree | fcc3668502517d8ca73c3bb1c3ec8894cfc3243e /src/vmspawn/vmspawn.c | |
parent | vmspawn: use SD_EVENT_SIGNAL_PROCMASK flag where possible (diff) | |
download | systemd-b71855b331005e2a21e75e1868a933221d6794d9.tar.xz systemd-b71855b331005e2a21e75e1868a933221d6794d9.zip |
vmspawn: suppress unnecessary '-'
Diffstat (limited to '')
-rw-r--r-- | src/vmspawn/vmspawn.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vmspawn/vmspawn.c b/src/vmspawn/vmspawn.c index 5a69372b04..b4cc6dddc6 100644 --- a/src/vmspawn/vmspawn.c +++ b/src/vmspawn/vmspawn.c @@ -675,7 +675,6 @@ static int run_virtual_machine(void) { _exit(EXIT_FAILURE); } - int exit_status = INT_MAX; if (use_vsock) { r = setup_notify_parent(event, vsock_fd, &exit_status, ¬ify_event_source); @@ -713,7 +712,7 @@ static int determine_names(void) { int r; if (!arg_image) - return log_error_errno(SYNTHETIC_ERRNO(-EINVAL), "Missing required argument -i/--image=, quitting"); + return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Missing required argument -i/--image=, quitting"); if (!arg_machine) { char *e; |