diff options
Diffstat (limited to 'contrib/scripts/retrieve_sip_conf_from_mysql.pl')
-rw-r--r-- | contrib/scripts/retrieve_sip_conf_from_mysql.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/scripts/retrieve_sip_conf_from_mysql.pl b/contrib/scripts/retrieve_sip_conf_from_mysql.pl index 03395a125..6bf775eac 100644 --- a/contrib/scripts/retrieve_sip_conf_from_mysql.pl +++ b/contrib/scripts/retrieve_sip_conf_from_mysql.pl @@ -78,16 +78,15 @@ foreach my $row ( @{ $result } ) { } my @resSet = @{$result}; - if ( $#resSet == -1 ) { + if ( $#resSet == -1 ) { print "no results\n"; exit; } foreach my $row ( @{ $result } ) { my @result = @{ $row }; print EXTEN "$result[0]=$result[1]\n"; - } + } print EXTEN "$additional\n"; } exit 0; - |