summaryrefslogtreecommitdiff
path: root/debian/patches/helpful-wait-terminate.patch
blob: 8ebbf1fbc6a7572b57a310cf2b769815838ae6a2 (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 2b2c5ff34efa305e141130466260ca97f3a429ff 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 80d1db5..830f885 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -683,7 +683,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));