Commit c8aefdc7 authored by unknown's avatar unknown

Save files in var/tmp/ after failure

parent 1d408ef6
...@@ -3190,6 +3190,9 @@ sub after_failure ($) { ...@@ -3190,6 +3190,9 @@ sub after_failure ($) {
# Save the used my.cnf file # Save the used my.cnf file
copy($path_config_file, $save_dir); copy($path_config_file, $save_dir);
# Copy the tmp dir
copytree("$opt_vardir/tmp/", "$save_dir/tmp/");
if ( clusters() ) { if ( clusters() ) {
foreach my $cluster ( clusters() ) { foreach my $cluster ( clusters() ) {
my $cluster_dir= "$opt_vardir/".$cluster->{name}; my $cluster_dir= "$opt_vardir/".$cluster->{name};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment