mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-12 10:14:53 +00:00
client: fix return code when missing host
This commit is contained in:
parent
34949178a8
commit
34e9375cc0
@ -2437,6 +2437,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