Commit e8589b11 authored by Richard M. Stallman's avatar Richard M. Stallman

(main): Don't call setpgrp if !initialized.

parent bd4c2762
......@@ -341,6 +341,7 @@ main (argc, argv, envp)
clearerr (stdin);
#ifdef BSD
if (initialized)
inherited_pgroup = EMACS_GETPGRP (0);
setpgrp (0, getpid ());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment