--- /yard/lodin/archive/head//yard/compile/RPM/BUILD/xclip-0.11/xclip.c 2008-08-14 00:20:32 +0400 +++ /yard/compile/RPM/BUILD/xclip-0.11/xclip.c 2009-04-14 17:34:35 +0400 @@ -278,6 +278,9 @@ /* exit the parent process; */ if (pid) exit(EXIT_SUCCESS); + + /* child: start a new session, and avoid getting sighup */ + setsid(); } /* print a message saying what we're waiting for */