diff --git a/compositor/main.c b/compositor/main.c index c9002bf4..c1a72701 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -2602,7 +2602,7 @@ load_headless_backend(struct weston_compositor *c, if (transform) { if (weston_parse_transform(transform, &parsed_options->transform) < 0) { weston_log("Invalid transform \"%s\"\n", transform); - parsed_options->transform = UINT32_MAX; + return -1; } free(transform); }