summaryrefslogtreecommitdiff
path: root/debian/patches/quieter-signals.patch
blob: bf36b5498b534e9e5d6c41b2ec035954bbe36cfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: b/clientloop.c
===================================================================
--- a/clientloop.c
+++ b/clientloop.c
@@ -1526,8 +1526,10 @@
 		exit_status = 0;
 	}
 
-	if (received_signal)
-		fatal("Killed by signal %d.", (int) received_signal);
+	if (received_signal) {
+		debug("Killed by signal %d.", (int) received_signal);
+		cleanup_exit((int) received_signal + 128);
+	}
 
 	/*
 	 * In interactive mode (with pseudo tty) display a message indicating