summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rwxr-xr-xmeta/recipes-graphics/wayland/weston-init/weston-start7
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
6usage() { 6usage() {
7 cat <<EOF 7 cat <<EOF
8 $0 <openvt arguments> -- <weston options> 8 $0 [<openvt arguments>] [-- <weston options>]
9EOF 9EOF
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
25if test $# -lt 2; then
26 usage
27 exit 1
28fi
29
30if [ -n "$WAYLAND_DISPLAY" ]; then 25if [ -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