diff options
author | Simon Ser <contact@emersion.fr> | 2021-04-16 08:58:29 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-04-16 08:58:29 +0200 |
commit | 3c6826df7108fd11427817602023c03b94a6ec46 (patch) | |
tree | 93cfed07277afc5f4d0073b4740e17308216b80a /examples/rotation.c | |
parent | 84dea55b20b60c229a5e31ccd37b58c96cba611a (diff) |
examples/rotation: error out on invalid option
Diffstat (limited to 'examples/rotation.c')
-rw-r--r-- | examples/rotation.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |