mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-24 17:01:43 +00:00
client: fix - exit on bad display-effect argument
This commit is contained in:
parent
eb5de022d4
commit
a5194d37e9
@ -1926,6 +1926,8 @@ bool Application::set_disabled_display_effects(CmdLineParser& parser, char *val,
|
||||
disp_setting._disable_animation = true;
|
||||
} else {
|
||||
Platform::term_printf("%s: bad display effect type \"%s\"\n", arg0, val);
|
||||
_exit_code = SPICEC_ERROR_CODE_INVALID_ARG;
|
||||
return false;
|
||||
}
|
||||
} while ((val = parser.next_argument()));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user