summaryrefslogtreecommitdiff
path: root/debian/patches/helpful-wait-terminate.patch
blob: e79f4990f1659dd9334cd0d88b673b5535ae3d0e (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 ef912859a4300360164292abe47b5516c8ee4a13 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 2f8e3a0..441d73b 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));