summaryrefslogtreecommitdiff
path: root/debian/patches/helpful-wait-terminate.patch
blob: 6f28f7db58f30f7dab319e11ab4f478622683bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 29a3d408fe0b8e91aed47ec4ad26d0c0a16e8f65 Mon Sep 17 00:00:00 2001
From: Matthew Vernon <matthew@debian.org>
Date: Sun, 9 Feb 2014 16:09:56 +0000
Subject: Mention ~& when waiting for forwarded connections to terminate

Bug-Debian: http://bugs.debian.org/50308
Last-Update: 2010-02-27

Patch-Name: helpful-wait-terminate.patch
---
 serverloop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/serverloop.c b/serverloop.c
index 5b2f802..d3079d2 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -687,7 +687,7 @@ server_loop(pid_t pid, int fdin_arg, int fdout_arg, int fderr_arg)
 			if (!channel_still_open())
 				break;
 			if (!waiting_termination) {
-				const char *s = "Waiting for forwarded connections to terminate...\r\n";
+				const char *s = "Waiting for forwarded connections to terminate... (press ~& to background)\r\n";
 				char *cp;
 				waiting_termination = 1;
 				buffer_append(&stderr_buffer, s, strlen(s));