aboutsummaryrefslogtreecommitdiff
path: root/examples/rotation.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-04-16 08:58:29 +0200
committerSimon Ser <contact@emersion.fr>2021-04-16 08:58:29 +0200
commit3c6826df7108fd11427817602023c03b94a6ec46 (patch)
tree93cfed07277afc5f4d0073b4740e17308216b80a /examples/rotation.c
parent84dea55b20b60c229a5e31ccd37b58c96cba611a (diff)
examples/rotation: error out on invalid option
Diffstat (limited to 'examples/rotation.c')
-rw-r--r--examples/rotation.c2
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);