File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -286,12 +286,12 @@ sub report_basic
286286 # send back some useful info if no command was given
287287 print " hello $user , the gitolite version here is " ;
288288 system (" cat" , ($GL_PACKAGE_CONF || " $GL_ADMINDIR /conf" ) . " /VERSION" );
289- print " \r you have the following permissions:\n\r " ;
289+ print " \r you have the following permissions:\r\n " ;
290290 for my $r (sort keys %repos ) {
291291 my $perm .= ( $repos {$r }{C }{' @all' } ? ' @' : ( $repos {$r }{C }{$user } ? ' C' : ' ' ) );
292292 $perm .= ( $repos {$r }{R }{' @all' } ? ' @' : ( $repos {$r }{R }{$user } ? ' R' : ' ' ) );
293293 $perm .= ( $repos {$r }{W }{' @all' } ? ' @' : ( $repos {$r }{W }{$user } ? ' W' : ' ' ) );
294- print " $perm \t $r \n\r " if $perm =~ / \S / ;
294+ print " $perm \t $r \r\n " if $perm =~ / \S / ;
295295 }
296296}
297297
@@ -358,7 +358,7 @@ sub special_cmd
358358 # check each special command we know about and call it if enabled
359359 if ($cmd eq ' info' ) {
360360 &report_basic($GL_ADMINDIR , $GL_CONF_COMPILED , $user );
361- print " you also have shell access\n\r " if $shell_allowed ;
361+ print " you also have shell access\r\n " if $shell_allowed ;
362362 } elsif ($cmd =~ / ^info\s +(.+)$ / ) {
363363 my @otherusers = split ' ' , $1 ;
364364 &parse_acl($GL_CONF_COMPILED );
You can’t perform that action at this time.
0 commit comments