diff options
| -rwxr-xr-x | meta/recipes-graphics/wayland/weston-init/weston-start | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start b/meta/recipes-graphics/wayland/weston-init/weston-start index b791fd5a9b..dc2b1efc78 100755 --- a/meta/recipes-graphics/wayland/weston-init/weston-start +++ b/meta/recipes-graphics/wayland/weston-init/weston-start | |||
| @@ -14,6 +14,11 @@ if test $# -lt 2; then | |||
| 14 | exit 1 | 14 | exit 1 |
| 15 | fi | 15 | fi |
| 16 | 16 | ||
| 17 | if [ -n "$WAYLAND_DISPLAY" ]; then | ||
| 18 | echo "ERROR: A Wayland compositor is already running, nested Weston instance is not supported yet." | ||
| 19 | exit 1 | ||
| 20 | fi | ||
| 21 | |||
| 17 | openvt_args="" | 22 | openvt_args="" |
| 18 | while [ -n "$1" ]; do | 23 | while [ -n "$1" ]; do |
| 19 | openvt_args="$openvt_args $1" | 24 | openvt_args="$openvt_args $1" |
