From 8719823f5d09e4abae1cc23874b8fa416a92ae7d Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Thu, 27 Nov 2008 21:40:29 +0000 Subject: [PATCH] Fixup output of fsxs --variable git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10558 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- scripts/fsxs.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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++; } } }