Commit 7dbf51e3 authored by Francois Gouget's avatar Francois Gouget Committed by Christophe Fergeau

spiceqxl: Reject invalid boolean values, just like for other options.

Signed-off-by: default avatarFrancois Gouget <fgouget@codeweavers.com>
parent d3260f74
......@@ -49,6 +49,6 @@ int get_bool_option(OptionInfoPtr options, int option_index,
return TRUE;
}
fprintf(stderr, "spice: treating invalid boolean %s as true: %s\n", env_name, value);
return TRUE;
fprintf(stderr, "spice: invalid %s: %s\n", env_name, value);
exit(1);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment