Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unix/pageant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/pageant.c b/unix/pageant.c
index 6d125fce..4558cd37 100644
--- a/unix/pageant.c
+++ b/unix/pageant.c
@@ -330,9 +330,9 @@ void pageant_fork_and_print_env(bool retain_tty)
/* Get out of our previous process group, to avoid being
* blasted by passing signals. But keep our controlling tty,
* so we can keep checking to see if we still have one. */
-#if defined HAVE_NULLARY_SETPGRP
+#if HAVE_NULLARY_SETPGRP
setpgrp();
-#elif defined HAVE_BINARY_SETPGRP
+#elif HAVE_BINARY_SETPGRP
setpgrp(0, 0);
#endif
} else {