Fixed userhost login display
This commit is contained in:
parent
1f29c5a4a6
commit
85f56a7d23
1 changed files with 1 additions and 1 deletions
2
spp.pl
2
spp.pl
|
@ -821,7 +821,7 @@ sub render_userhost
|
||||||
|
|
||||||
my $str = '';
|
my $str = '';
|
||||||
if ( $un ) {
|
if ( $un ) {
|
||||||
$str .= getlogin || getpwuid( $< ) || '(?)';
|
$str .= getpwuid( $< ) || '(?)';
|
||||||
}
|
}
|
||||||
if ( $hn == 1 || ( $hn == 2 && $is_remote ) ) {
|
if ( $hn == 1 || ( $hn == 2 && $is_remote ) ) {
|
||||||
$str .= '@' if $str;
|
$str .= '@' if $str;
|
||||||
|
|
Loading…
Reference in a new issue