forked from Mirrors/freeswitch
Fixup output of fsxs --variable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10558 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d44eb4a007
commit
8719823f5d
|
@ -177,12 +177,14 @@ sub fsxs_show {
|
||||||
|
|
||||||
sub fsxs_showq {
|
sub fsxs_showq {
|
||||||
my @varlist = @_;
|
my @varlist = @_;
|
||||||
|
my $count = 0;
|
||||||
|
|
||||||
if( $#varlist >= 0 ) {
|
if( $#varlist >= 0 ) {
|
||||||
foreach( @varlist ) {
|
foreach( @varlist ) {
|
||||||
if( defined $vars{$_} ) {
|
if( defined $vars{$_} ) {
|
||||||
print "$vars{$_} ";
|
print "$vars{$_}" . (($count < $#varlist) ? " " : "");
|
||||||
}
|
}
|
||||||
|
$count++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue