[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-252-g3be4c59

? sunnavy sunnavy at bestpractical.com
Thu Nov 4 07:06:26 EDT 2010


The branch, 3.9-trunk has been updated
       via  3be4c59fa62b4385c0cb81aeb56e6ce32d25fcb3 (commit)
      from  89be342babf52f17917c4808a5b957c0827d23f0 (commit)

Summary of changes:
 bin/rt.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 3be4c59fa62b4385c0cb81aeb56e6ce32d25fcb3
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Nov 4 19:05:39 2010 +0800

    tiny warning fix

diff --git a/bin/rt.in b/bin/rt.in
index e64b0ba..e04682c 100755
--- a/bin/rt.in
+++ b/bin/rt.in
@@ -51,7 +51,7 @@
 
 use strict;
 
-if ( $ARGV[0] =~ /^(?:--help|-h)$/ ) {
+if ( $ARGV[0] && $ARGV[0] =~ /^(?:--help|-h)$/ ) {
     require Pod::Usage;
     print Pod::Usage::pod2usage( { verbose => 2 } );
     exit;

-----------------------------------------------------------------------


More information about the Rt-commit mailing list