Sfoglia il codice sorgente

fix bug with tpsgi-config not getting the value

George Baugh 1 anno fa
parent
commit
f8ded6e069
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      bin/tpsgi-config

+ 1 - 1
bin/tpsgi-config

@@ -21,7 +21,7 @@ sub main {
 
     GetOptionsFromArray(\@args, %def);
 
-    foreach my $param (keys(%options)) {
+    foreach my $param (keys(%def)) {
         next unless $options{$param};
         my @to_print;
         @to_print = ref $config{$param} eq 'ARRAY' ? @{$config{$param}}: $config{$param};