From c7fc619cf1cb22b43e310144a62fb04244469bd2 Mon Sep 17 00:00:00 2001 From: Albert Zeyer Date: Mon, 11 Apr 2011 12:53:42 +0200 Subject: [PATCH] feedback --- shairport.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/shairport.pl b/shairport.pl index 96c1aff4..97285d47 100755 --- a/shairport.pl +++ b/shairport.pl @@ -80,6 +80,7 @@ $SIG{CHLD} = \&REAP; my %conns; $SIG{TERM} = $SIG{INT} = $SIG{__DIE__} = sub { + print "killed\n"; map { eval { kill $_->{decoder_pid} } } keys %conns; kill 9, $avahi_publish; exit(0);