From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dL342-00012W-Qr for guix-patches@gnu.org; Wed, 14 Jun 2017 03:50:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dL33z-0007Xm-Jb for guix-patches@gnu.org; Wed, 14 Jun 2017 03:50:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dL33z-0007Xh-Fl for guix-patches@gnu.org; Wed, 14 Jun 2017 03:50:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dL33z-0006Zz-7g for guix-patches@gnu.org; Wed, 14 Jun 2017 03:50:03 -0400 Subject: [bug#27323] [PATCH v2 shepherd 2/2] Make sure that shepherd does not serve already-served sockets. Resent-Message-ID: From: Danny Milosavljevic Date: Wed, 14 Jun 2017 09:49:02 +0200 Message-Id: <20170614074902.1130-3-dannym@scratchpost.org> In-Reply-To: <20170614074902.1130-1-dannym@scratchpost.org> References: <20170611023650.6928-1-dannym@scratchpost.org> <20170614074902.1130-1-dannym@scratchpost.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27323@debbugs.gnu.org --- modules/shepherd.scm | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/shepherd.scm b/modules/shepherd.scm index dd8a076..f7c169d 100644 --- a/modules/shepherd.scm +++ b/modules/shepherd.scm @@ -41,7 +41,6 @@ (with-fluids ((%default-port-encoding "UTF-8")) (let ((sock (socket PF_UNIX SOCK_STREAM 0)) (address (make-socket-address AF_UNIX file-name))) - (false-if-exception (delete-file file-name)) (bind sock address) (listen sock 10) sock)))