(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:
Assar Westerlund
1996-09-16 00:09:45 +00:00
parent d4310bdab1
commit bbc8c0a25c

View File

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