diff options
Diffstat (limited to 'usr/local/sbin/rmrepo')
-rwxr-xr-x | usr/local/sbin/rmrepo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/sbin/rmrepo b/usr/local/sbin/rmrepo index 5c67339..864830f 100755 --- a/usr/local/sbin/rmrepo +++ b/usr/local/sbin/rmrepo @@ -5,7 +5,7 @@ use warnings; my( $reponame, $uid, $gitowner, $wikilisttempfile, $cgitrctempfile); -if ( ( ! scalar $ARGV[0] ) or ( scalar $ARGV[1] ) or ( $ARGV[0] !~ /^[a-z0-9][a-z0-9+.-]+$/ ) ) { +if ( ( ! scalar $ARGV[0] ) or ( scalar $ARGV[1] ) or ( $ARGV[0] !~ /^[a-z0-9][a-z0-9-]+$/ ) ) { print( "Usage: rmrepo REPONAME\n" ); exit( 1 ); } else { |