Log stderr to stdout in run script
This commit is contained in:
parent
94adfb8d89
commit
585d7d027c
|
@ -8,6 +8,8 @@ my $dbuser = $rec->prop('DbUser') || 'samba';
|
|||
my $dbpass = $rec->prop('DbPassword') || 'samba';
|
||||
my $dbhost = $rec->prop('DbHost') || 'localhost';
|
||||
|
||||
open(STDERR, ">&STDOUT");
|
||||
|
||||
my @args = ("--debug=1", "--dbname=$dbname", "--dbuser=$dbuser", "--dbpass=$dbpass");
|
||||
|
||||
push @args, "--dbhost=$dbhost" if ($dbhost ne 'localhost');
|
||||
|
|
Loading…
Reference in New Issue