summaryrefslogtreecommitdiff
path: root/debian/patches/helpful-wait-terminate.patch
blob: ca90ba12488efa0e5c72d3db62552448652dcb62 (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 71003a35537df521296408d9f6bd0a200ed2a854 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));