diff --git a/scripts/fsxs.in b/scripts/fsxs.in index dbf9526585..73ba2d9870 100755 --- a/scripts/fsxs.in +++ b/scripts/fsxs.in @@ -177,12 +177,14 @@ sub fsxs_show { sub fsxs_showq { my @varlist = @_; + my $count = 0; if( $#varlist >= 0 ) { foreach( @varlist ) { if( defined $vars{$_} ) { - print "$vars{$_} "; + print "$vars{$_}" . (($count < $#varlist) ? " " : ""); } + $count++; } } }