[SCM] Packaging for lighty-stats, a httpd log parser branch, upstream,	updated. ebb62bba2b736857974080f84ee3c035337db992
    Daniel Friesel 
    derf at derf.homelinux.org
       
    Mon Jan 19 22:16:25 UTC 2009
    
    
  
The following commit has been merged in the upstream branch:
commit ebb62bba2b736857974080f84ee3c035337db992
Author: Daniel Friesel <derf at derf.homelinux.org>
Date:   Fri Dec 19 12:45:22 2008 +0100
    lighty-stats: print_usage: Use exec instead of system
diff --git a/bin/lighty-stats b/bin/lighty-stats
index 74da166..57de8cd 100755
--- a/bin/lighty-stats
+++ b/bin/lighty-stats
@@ -323,8 +323,7 @@ sub info {
 }
 
 sub print_usage {
-	system("man lighty-stats");
-	exit(0);
+	exec('man', 'lighty-stats') or die('See man lighty-stats or perldoc lighty-stats');
 }
 
 __END__
-- 
Packaging for lighty-stats, a httpd log parser
    
    
More information about the Pkg-perl-cvs-commits
mailing list