From a8425496ad982369a2cdc44bef36f6fd7ab4c5b4 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Thu, 8 Aug 2013 17:25:30 +0200 Subject: [PATCH] [NOT FOR REVIEW] [SECURITY BUG] Allow spawning anything with mutter-launch --- src/wayland/weston-launch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/weston-launch.c b/src/wayland/weston-launch.c index b38386eca..fb05075a3 100644 --- a/src/wayland/weston-launch.c +++ b/src/wayland/weston-launch.c @@ -637,7 +637,7 @@ main(int argc, char *argv[]) if (strcmp (argv[optind], "mutter") && strcmp (argv[optind], "gnome-shell") && - strcmp (argv[optind], "gnome-shell-real")) + strcmp (argv[optind], "gnome-shell-real") && 0) error(1, 0, "mutter-launch can only be used to launch mutter or gnome-shell"); if (wl.new_user)