diff --git a/helper/tt2-daemon b/helper/tt2-daemon index c3b1fd4f..0a73d07f 100755 --- a/helper/tt2-daemon +++ b/helper/tt2-daemon @@ -72,7 +72,8 @@ sub handle_connections { next if(exists $loaded_ymls{$file}); $loaded_ymls{$file} = undef; print $client "Loading $file in memory:" unless $quiet; - $config = merge($config, LoadFile($file) || die $ERRNO); + my $hm = Hash::Merge->new('RIGHT_PRECEDENT'); + $config = $hm->merge( $config, LoadFile($file) || die $ERRNO); print $client " OK \n" unless $quiet; }; };