vmspawn: suppress unnecessary '-'

This commit is contained in:
Lennart Poettering
2024-01-12 16:04:05 +01:00
parent 8b18350503
commit b71855b331
+1 -2
View File
@@ -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, &notify_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;