diff options
Diffstat (limited to 'pinyadmin/sbin')
-rwxr-xr-x | pinyadmin/sbin/pinyconfig | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pinyadmin/sbin/pinyconfig b/pinyadmin/sbin/pinyconfig index 8496cc7..345e53f 100755 --- a/pinyadmin/sbin/pinyconfig +++ b/pinyadmin/sbin/pinyconfig @@ -24,7 +24,12 @@ if ( not defined $attr ) { my $tweakables = $config->all_tweakables; foreach my $t ( sort keys %$tweakables ) { - print "$t => " . $tweakables->{$t} . "\n"; + my $v = $tweakables->{$t}; + if ( defined $v ) { + print "$t => $v\n"; + } else { + print "$t undefined\n"; + }; }; } else { |