diff options
| -rwxr-xr-x | loadbars.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loadbars.pl b/loadbars.pl index b428f1c..87079d8 100755 --- a/loadbars.pl +++ b/loadbars.pl @@ -403,7 +403,7 @@ sub thr_display_stats () { my ($y, $space) = (5, 15); if ($displaytxt{host}) { - $host =~ /(.*)\.?/; + $host =~ /([^\.]*)/; $app->print($x, $y, sprintf '%s:', $1); } else { |
