From 8dcc7c5ef45cf5032dca7a308ffe17d3935e62d5 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 27 Feb 2010 14:05:10 +0000 Subject: Convert to source format 3.0 (quilt). --- debian/patches/sshd-ignore-sighup.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 debian/patches/sshd-ignore-sighup.patch (limited to 'debian/patches/sshd-ignore-sighup.patch') diff --git a/debian/patches/sshd-ignore-sighup.patch b/debian/patches/sshd-ignore-sighup.patch new file mode 100644 index 000000000..652b3fa66 --- /dev/null +++ b/debian/patches/sshd-ignore-sighup.patch @@ -0,0 +1,12 @@ +Index: b/sshd.c +=================================================================== +--- a/sshd.c ++++ b/sshd.c +@@ -318,6 +318,7 @@ + close_listen_socks(); + close_startup_pipes(); + alarm(0); /* alarm timer persists across exec */ ++ signal(SIGHUP, SIG_IGN); /* will be restored after exec */ + execv(saved_argv[0], saved_argv); + logit("RESTART FAILED: av[0]='%.100s', error: %.100s.", saved_argv[0], + strerror(errno)); -- cgit v1.2.3