[NOT FOR REVIEW] [SECURITY BUG] Allow spawning anything with mutter-launch

This commit is contained in:
Giovanni Campagna 2013-08-08 17:25:30 +02:00
parent e9434732d4
commit a8425496ad

View File

@ -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)