mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-03 01:43:25 +00:00
Further work on config module
This commit is contained in:
parent
3fedc40eaf
commit
5fb98fc796
4 changed files with 47 additions and 5 deletions
|
@ -141,13 +141,13 @@ sub parse_config_file {
|
|||
my ( $key, $value ) = ( $1, $2 );
|
||||
if ( defined $key && defined $value ) {
|
||||
$read_config{$key} = $value;
|
||||
logmsg( 3, "$key=$value" );
|
||||
$self->debug( 3, "$key=$value" );
|
||||
}
|
||||
}
|
||||
close(CFG);
|
||||
|
||||
# tidy up entries, just in case
|
||||
$read_config{terminal_font} =~ s/['"]//g;
|
||||
$read_config{terminal_font} =~ s/['"]//g if($read_config{terminal_font});
|
||||
|
||||
$self->validate_args(%read_config);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue