Skip to content

Commit

Permalink
Merge 9935d31 into 99ae5d5
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmaurel committed Jul 26, 2017
2 parents 99ae5d5 + 9935d31 commit bf01b1f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ sub run {
my $err = $self->param('err');
my $out = $self->param('out');

my $hive_dbc = $self->dbc;
$hive_dbc->disconnect_if_idle() if defined $hive_dbc;

my $cmd = "perl $script " . join(' ', @args);
$self->warning($cmd);
$self->run_cmd("$cmd 1>$out 2>$err");
Expand Down

0 comments on commit bf01b1f

Please sign in to comment.