Fixed userhost login display

This commit is contained in:
Emmanuel BENOîT 2020-10-20 20:41:20 +02:00
parent 1f29c5a4a6
commit 85f56a7d23

2
spp.pl
View file

@ -821,7 +821,7 @@ sub render_userhost
my $str = '';
if ( $un ) {
$str .= getlogin || getpwuid( $< ) || '(?)';
$str .= getpwuid( $< ) || '(?)';
}
if ( $hn == 1 || ( $hn == 2 && $is_remote ) ) {
$str .= '@' if $str;