mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-30 09:46:50 +00:00
client: fix return code when missing host
This commit is contained in:
parent
9a03fbcbe4
commit
f73a05021c
@ -2429,6 +2429,7 @@ bool Application::process_cmd_line(int argc, char** argv, bool &full_screen)
|
||||
|
||||
if (host.empty()) {
|
||||
Platform::term_printf("%s: missing --host\n", argv[0]);
|
||||
_exit_code = SPICEC_ERROR_CODE_CMD_LINE_ERROR;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user