SVN: toys/rsget.pl/RSGet/Main.pm

sparky sparky at pld-linux.org
Tue Dec 7 21:59:13 CET 2010


Author: sparky
Date: Tue Dec  7 21:59:13 2010
New Revision: 11975

Modified:
   toys/rsget.pl/RSGet/Main.pm
Log:
- ignore SIGUSR1 for now


Modified: toys/rsget.pl/RSGet/Main.pm
==============================================================================
--- toys/rsget.pl/RSGet/Main.pm	(original)
+++ toys/rsget.pl/RSGet/Main.pm	Tue Dec  7 21:59:13 2010
@@ -192,6 +192,15 @@
 	}
 }
 
+sub sig_ignore
+{
+	warn "Ignoring signal @_[0]\n";
+}
+
+foreach ( qw(USR1) ) {
+	$SIG{$_} = \&sig_ignore;
+}
+
 sub check_settings
 {
 	my $settings = shift;


More information about the pld-cvs-commit mailing list