From 3c6826df7108fd11427817602023c03b94a6ec46 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 16 Apr 2021 08:58:29 +0200 Subject: [PATCH] examples/rotation: error out on invalid option --- examples/rotation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/rotation.c b/examples/rotation.c index 17bb4384..84daa822 100644 --- a/examples/rotation.c +++ b/examples/rotation.c @@ -231,7 +231,7 @@ int main(int argc, char *argv[]) { } break; default: - break; + return 1; } } wlr_log_init(WLR_DEBUG, NULL);