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

sparky sparky at pld-linux.org
Sat Dec 18 21:27:07 CET 2010


Author: sparky
Date: Sat Dec 18 21:27:07 2010
New Revision: 11990

Modified:
   toys/rsget.pl/RSGet/Dispatch.pm
Log:
- warn instead of NOTICE


Modified: toys/rsget.pl/RSGet/Dispatch.pm
==============================================================================
--- toys/rsget.pl/RSGet/Dispatch.pm	(original)
+++ toys/rsget.pl/RSGet/Dispatch.pm	Sat Dec 18 21:27:07 2010
@@ -318,8 +318,8 @@
 		RSGet::Main::restart();
 	} else {
 		$soft_stop = 2;
-		new RSGet::Line( "NOTICE: ", "rsget.pl will restart after finishing all current downloads" );
-		new RSGet::Line( "NOTICE: ", "send SIGUSR2 again to restart now" );
+		warn "* rsget.pl will restart after finishing all current downloads\n";
+		warn "* send SIGUSR2 again to restart now\n";
 		RSGet::FileList::update();
 	}
 }
@@ -332,8 +332,8 @@
 		RSGet::Main::stop();
 	} else {
 		$soft_stop = 1;
-		new RSGet::Line( "NOTICE: ", "rsget.pl will terminate after finishing all current downloads" );
-		new RSGet::Line( "NOTICE: ", "send SIGINT again to terminate now" );
+		warn "* rsget.pl will terminate after finishing all current downloads\n";
+		warn "* send SIGINT again to terminate now\n";
 		RSGet::FileList::update();
 	}
 }


More information about the pld-cvs-commit mailing list