diff options
Diffstat (limited to 'misc/kenny/files')
-rw-r--r-- | misc/kenny/files/patch-kenny | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/misc/kenny/files/patch-kenny b/misc/kenny/files/patch-kenny new file mode 100644 index 000000000000..9e901f819cb7 --- /dev/null +++ b/misc/kenny/files/patch-kenny @@ -0,0 +1,42 @@ +--- kenny.orig Sat Jan 5 23:45:34 2002 ++++ kenny Sat Jan 5 23:45:34 2002 +@@ -149,6 +149,7 @@ + sub translate($); + sub addGermanUmlauts($); + sub printHelp(); ++sub theyKilledKenny(); + + + +@@ -169,6 +170,15 @@ + + + ++##### Install signal handlers ++ ++$SIG{HUP} = \&theyKilledKenny; ++$SIG{INT} = \&theyKilledKenny; ++$SIG{QUIT} = \&theyKilledKenny; ++$SIG{TERM} = \&theyKilledKenny; ++ ++ ++ + ##### Parse commandline arguments + + # "-h" switch (print help): +@@ -224,6 +234,15 @@ + ##### That's all, folks! + + exit 0; ++ ++ ++##### Signal handler, if we're kill(1)ed ++ ++sub theyKilledKenny() ++{ ++ print "Oh my God! They killed Kenny! You bastards!\n"; ++ exit 0; ++} + + + |