summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland/weston/make-weston-launch-exit-for-unrecognized-option.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/wayland/weston/make-weston-launch-exit-for-unrecognized-option.patch')
-rw-r--r--meta/recipes-graphics/wayland/weston/make-weston-launch-exit-for-unrecognized-option.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-graphics/wayland/weston/make-weston-launch-exit-for-unrecognized-option.patch b/meta/recipes-graphics/wayland/weston/make-weston-launch-exit-for-unrecognized-option.patch
deleted file mode 100644
index 0c408a43d6..0000000000
--- a/meta/recipes-graphics/wayland/weston/make-weston-launch-exit-for-unrecognized-option.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From e8b615250f700f7854b423aaaf0a0aeea92c05a9 Mon Sep 17 00:00:00 2001
2From: Tom Hochstein <tom.hochstein@nxp.com>
3Date: Sat, 7 May 2016 08:51:58 -0300
4Subject: [PATCH] weston-launch: Handle invalid command line options
5Organization: O.S. Systems Software LTDA.
6
7Exit the program if an unrecognized command line option is found.
8
9Upstream-Status: Submitted
10
11Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
12Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13---
14
15 src/weston-launch.c | 2 ++
16 1 file changed, 2 insertions(+)
17
18diff --git a/src/weston-launch.c b/src/weston-launch.c
19index b8dfb17..9987d8e 100644
20--- a/src/weston-launch.c
21+++ b/src/weston-launch.c
22@@ -703,6 +703,8 @@ main(int argc, char *argv[])
23 case 'h':
24 help("weston-launch");
25 exit(EXIT_FAILURE);
26+ default:
27+ exit(EXIT_FAILURE);
28 }
29 }
30
31--
322.8.2
33