From 85f56a7d239aa5051d5cd40be6cc31022dfbd053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Tue, 20 Oct 2020 20:41:20 +0200 Subject: [PATCH] Fixed userhost login display --- spp.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spp.pl b/spp.pl index ae9196b..9dd2e83 100644 --- a/spp.pl +++ b/spp.pl @@ -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;