Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signal handler doesn't return a number, but a string.
  • Loading branch information
icculus committed Sep 7, 2009
1 parent 669b109 commit 185b78f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archive_jabber.pl
Expand Up @@ -165,7 +165,7 @@ sub get_nickname {

sub signal_catcher {
my $sig = shift;
fail("Caught signal #${sig}!");
fail("Caught signal ${sig}!");
}
$SIG{INT} = \&signal_catcher;
$SIG{TERM} = \&signal_catcher;
Expand Down

0 comments on commit 185b78f

Please sign in to comment.