diff options
Diffstat (limited to 'meta')
-rwxr-xr-x | meta/recipes-graphics/wayland/weston-init/weston-start | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start b/meta/recipes-graphics/wayland/weston-init/weston-start index 3508ae2c33..9ef6773b0e 100755 --- a/meta/recipes-graphics/wayland/weston-init/weston-start +++ b/meta/recipes-graphics/wayland/weston-init/weston-start | |||
@@ -5,7 +5,7 @@ export PATH="/sbin:/usr/sbin:/bin:/usr/bin" | |||
5 | 5 | ||
6 | usage() { | 6 | usage() { |
7 | cat <<EOF | 7 | cat <<EOF |
8 | $0 <openvt arguments> -- <weston options> | 8 | $0 [<openvt arguments>] [-- <weston options>] |
9 | EOF | 9 | EOF |
10 | } | 10 | } |
11 | 11 | ||
@@ -22,11 +22,6 @@ add_openvt_argument() { | |||
22 | openvt_args="$openvt_args $1" | 22 | openvt_args="$openvt_args $1" |
23 | } | 23 | } |
24 | 24 | ||
25 | if test $# -lt 2; then | ||
26 | usage | ||
27 | exit 1 | ||
28 | fi | ||
29 | |||
30 | if [ -n "$WAYLAND_DISPLAY" ]; then | 25 | if [ -n "$WAYLAND_DISPLAY" ]; then |
31 | echo "ERROR: A Wayland compositor is already running, nested Weston instance is not supported yet." | 26 | echo "ERROR: A Wayland compositor is already running, nested Weston instance is not supported yet." |
32 | exit 1 | 27 | exit 1 |