Revert "main: Make sure that --mode parameter is valid"

This reverts commit a7a46bbe1c.

Conflicts:

	js/ui/sessionMode.js
This commit is contained in:
Florian Müllner
2012-05-24 19:33:25 +02:00
parent 7ed9516884
commit a277569d31
4 changed files with 0 additions and 27 deletions

View File

@ -393,12 +393,6 @@ main (int argc, char **argv)
_shell_global_init ("session-mode", session_mode, NULL);
if (!_shell_global_has_valid_session_mode (shell_global_get ()))
{
g_printerr ("\"%s\" is not a valid mode.\n", session_mode);
exit(1);
}
ecode = meta_run ();
if (g_getenv ("GNOME_SHELL_ENABLE_CLEANUP"))