(main): For now always use passive mode. That's the only thing that
has been tested and not a lot of people are going to use non-passive anyways. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@752 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -331,6 +331,10 @@ main(int argc, char **argv) | ||||
|      disp = getenv("DISPLAY"); | ||||
|      passivep = disp != NULL &&  | ||||
|        (*disp == ':' || strncmp(disp, "unix", 4) == 0); | ||||
|      /* non passive mode has not been tested and I'm not sure it works | ||||
|       *	at all, so better disable it. | ||||
|       */ | ||||
|      passivep = 1; | ||||
|      signal (SIGCHLD, childhandler); | ||||
|      return doit (argv[1], passivep); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund